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": "7eb3784c-fe7e-47cf-9a32-f66e4f0ca745",
  "applicationId": "8275b1a0-4c9e-4d80-8721-87d04f65ed2b",
  "licenseKey": "sample string 3",
  "isLicenseKeyActive": true,
  "totalLicenses": 5,
  "applicationLookupKey": "sample string 6",
  "createdDateUtc": "2026-06-04T16:44:45.1950042+00:00",
  "updatedDateUtc": "2026-06-04T16:44:45.1950042+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>2026-06-04T16:44:45.1950042+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-06-04T16:44:45.1950042+00:00</UpdatedDateUtc>
  <ApplicationId>8275b1a0-4c9e-4d80-8721-87d04f65ed2b</ApplicationId>
  <ApplicationLookupKey>sample string 6</ApplicationLookupKey>
  <IsLicenseKeyActive>true</IsLicenseKeyActive>
  <LicenseKey>sample string 3</LicenseKey>
  <TenantId>7eb3784c-fe7e-47cf-9a32-f66e4f0ca745</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'.