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": "e8c3c460-56b6-48c7-a695-0371a92a8f8c",
  "applicationId": "8878f66e-11bc-46e0-9a5a-f57bf94bdf22",
  "licenseKey": "sample string 3",
  "isLicenseKeyActive": true,
  "totalLicenses": 5,
  "applicationLookupKey": "sample string 6",
  "createdDateUtc": "2025-12-11T17:40:51.5909099+00:00",
  "updatedDateUtc": "2025-12-11T17:40:51.5909099+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-12-11T17:40:51.5909099+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-12-11T17:40:51.5909099+00:00</UpdatedDateUtc>
  <ApplicationId>8878f66e-11bc-46e0-9a5a-f57bf94bdf22</ApplicationId>
  <ApplicationLookupKey>sample string 6</ApplicationLookupKey>
  <IsLicenseKeyActive>true</IsLicenseKeyActive>
  <LicenseKey>sample string 3</LicenseKey>
  <TenantId>e8c3c460-56b6-48c7-a695-0371a92a8f8c</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'.