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": "e8eabb52-69cd-472f-bcf0-959755b094fd",
  "tenantId": "dc0bc804-2a6c-402c-a257-a22351988511",
  "userId": "4df05040-afc0-4c1b-8de1-129f6c59a2b8",
  "userGroupId": "e2ebc050-e144-46ef-bc72-b410b4a9b336",
  "deviceId": "52d784a2-a396-4466-944c-d8e7ea1a0410",
  "deviceGroupId": "073f3fb1-dee9-4cd4-9f16-6a5225e62a11",
  "applicationId": "c00b7a24-ae6d-4b62-aa90-1dd187e498c9",
  "applicationVersionId": "9324c150-a13e-4cdc-9593-37dfc1e01d7c",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-04-16T07:57:39.5654551+00:00",
  "updatedDateUtc": "2026-04-16T07:57:39.5654551+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-16T07:57:39.5654551+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-04-16T07:57:39.5654551+00:00</UpdatedDateUtc>
  <ApplicationId>c00b7a24-ae6d-4b62-aa90-1dd187e498c9</ApplicationId>
  <ApplicationVersionId>9324c150-a13e-4cdc-9593-37dfc1e01d7c</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>073f3fb1-dee9-4cd4-9f16-6a5225e62a11</DeviceGroupId>
  <DeviceId>52d784a2-a396-4466-944c-d8e7ea1a0410</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>e8eabb52-69cd-472f-bcf0-959755b094fd</SyncTokenId>
  <TenantId>dc0bc804-2a6c-402c-a257-a22351988511</TenantId>
  <UserGroupId>e2ebc050-e144-46ef-bc72-b410b4a9b336</UserGroupId>
  <UserId>4df05040-afc0-4c1b-8de1-129f6c59a2b8</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.