Cyan Web API - Version 1


POST api/tenantApplications

            Creates a TenantApplication.
            

Request Information

Parameters

NameDescriptionAdditional information
tenantApplicationRepresentation

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "tenantId": "648f6f0e-0359-4ff7-8de9-02a9241b2437",
  "applicationId": "a9077b70-f4d7-4196-a1cb-2d91f3be7b78",
  "licenseKey": "sample string 3",
  "isLicenseKeyActive": true,
  "totalLicenses": 5,
  "applicationLookupKey": "sample string 6",
  "createdDateUtc": "2025-11-20T17:50:56.9460028+00:00",
  "updatedDateUtc": "2025-11-20T17:50:56.9460028+00:00"
}

application/xml, text/xml

Sample:
<TenantApplicationRepresentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1">
  <CreatedDateUtc>2025-11-20T17:50:56.9460028+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-11-20T17:50:56.9460028+00:00</UpdatedDateUtc>
  <ApplicationId>a9077b70-f4d7-4196-a1cb-2d91f3be7b78</ApplicationId>
  <ApplicationLookupKey>sample string 6</ApplicationLookupKey>
  <IsLicenseKeyActive>true</IsLicenseKeyActive>
  <LicenseKey>sample string 3</LicenseKey>
  <TenantId>648f6f0e-0359-4ff7-8de9-02a9241b2437</TenantId>
  <TotalLicenses>5</TotalLicenses>
</TenantApplicationRepresentation>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TenantApplicationRepresentation'.