Cyan Web API - Version 1


POST api/syncTokens

            Creates a token that can be used to retrieve sync data.
            

Request Information

Parameters

NameDescriptionAdditional information
syncTokenRepresentation

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "syncTokenId": "5973ede2-fb33-4a8f-9e5b-d919cc30e560",
  "tenantId": "2bcdf82c-8cab-4b50-b6f3-c0c62f471b75",
  "userId": "54e6e0ab-7728-426d-b7f6-2d3a70e7352d",
  "userGroupId": "026d318f-7aa0-4744-9595-75d919eeb892",
  "deviceId": "7cc9888e-6c06-42f9-9cad-74c2ddf1deca",
  "deviceGroupId": "3f2024e4-e5ab-4db3-9c1b-1f06979ed09e",
  "applicationId": "788d43c7-8a38-43ab-bc49-86c9f8729398",
  "applicationVersionId": "e5a93e07-2449-4190-b10e-e94a05c1a91a",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-04-24T23:47:21.8121294+00:00",
  "updatedDateUtc": "2026-04-24T23:47:21.8121294+00:00"
}

application/xml, text/xml

Sample:
<SyncTokenRepresentation 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-04-24T23:47:21.8121294+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-04-24T23:47:21.8121294+00:00</UpdatedDateUtc>
  <ApplicationId>788d43c7-8a38-43ab-bc49-86c9f8729398</ApplicationId>
  <ApplicationVersionId>e5a93e07-2449-4190-b10e-e94a05c1a91a</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>3f2024e4-e5ab-4db3-9c1b-1f06979ed09e</DeviceGroupId>
  <DeviceId>7cc9888e-6c06-42f9-9cad-74c2ddf1deca</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>5973ede2-fb33-4a8f-9e5b-d919cc30e560</SyncTokenId>
  <TenantId>2bcdf82c-8cab-4b50-b6f3-c0c62f471b75</TenantId>
  <UserGroupId>026d318f-7aa0-4744-9595-75d919eeb892</UserGroupId>
  <UserId>54e6e0ab-7728-426d-b7f6-2d3a70e7352d</UserId>
</SyncTokenRepresentation>

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