Cyan Web API - Version 1


POST api/tenantCustomPage

            Creates a tenant custom page.
            

Request Information

Parameters

NameDescriptionAdditional information
tenantCustomPage

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "customPageId": "ae58402b-c693-4902-849d-0ea8630f9187",
  "customPageName": "sample string 2",
  "tenantId": "eda1f058-6ff7-4859-a1f3-22a08f20b2c4",
  "viewDataJsonDictionary": "sample string 4",
  "roleId": 5,
  "createdDateUtc": "2026-03-30T14:59:22.8337656+00:00",
  "updatedDateUtc": "2026-03-30T14:59:22.8337656+00:00"
}

application/xml, text/xml

Sample:
<TenantCustomPageRepresentation 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-03-30T14:59:22.8337656+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-03-30T14:59:22.8337656+00:00</UpdatedDateUtc>
  <CustomPageId>ae58402b-c693-4902-849d-0ea8630f9187</CustomPageId>
  <CustomPageName>sample string 2</CustomPageName>
  <RoleId>5</RoleId>
  <TenantId>eda1f058-6ff7-4859-a1f3-22a08f20b2c4</TenantId>
  <ViewDataJsonDictionary>sample string 4</ViewDataJsonDictionary>
</TenantCustomPageRepresentation>

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 'TenantCustomPageRepresentation'.