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": "029315c0-3684-4aae-8b7a-b94e47dfac60",
  "tenantId": "0999c1e0-bd09-45d9-a5f5-33eb09795fa4",
  "userId": "650276eb-5278-49ed-a449-1255b558dc1a",
  "userGroupId": "4ec1fe2c-eaf5-4fe6-8114-7c2218eccd0a",
  "deviceId": "cd3b0ccc-560c-4ecb-a95e-4419e3b95b90",
  "deviceGroupId": "09e1e98e-faf8-4c77-a92c-b6e3e51d617e",
  "applicationId": "58154340-14d7-4694-b478-fdfb3b33726e",
  "applicationVersionId": "615a760c-7208-46ba-9751-00b504560bde",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2025-10-16T03:00:11.9918533+00:00",
  "updatedDateUtc": "2025-10-16T03:00:11.9918533+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>2025-10-16T03:00:11.9918533+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-10-16T03:00:11.9918533+00:00</UpdatedDateUtc>
  <ApplicationId>58154340-14d7-4694-b478-fdfb3b33726e</ApplicationId>
  <ApplicationVersionId>615a760c-7208-46ba-9751-00b504560bde</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>09e1e98e-faf8-4c77-a92c-b6e3e51d617e</DeviceGroupId>
  <DeviceId>cd3b0ccc-560c-4ecb-a95e-4419e3b95b90</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>029315c0-3684-4aae-8b7a-b94e47dfac60</SyncTokenId>
  <TenantId>0999c1e0-bd09-45d9-a5f5-33eb09795fa4</TenantId>
  <UserGroupId>4ec1fe2c-eaf5-4fe6-8114-7c2218eccd0a</UserGroupId>
  <UserId>650276eb-5278-49ed-a449-1255b558dc1a</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.