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": "d1d84376-1b49-4aa6-8772-855eae564d0d",
  "tenantId": "956087c4-5f83-4d3d-862f-cb9b92936343",
  "userId": "396630ad-691e-42d1-a395-1cd5923d3595",
  "userGroupId": "4c242b04-f216-4ba7-8b15-f0d7d25f0da9",
  "deviceId": "51844cbe-85d8-4f3d-a45f-1159aaab3181",
  "deviceGroupId": "6d971494-fd09-4e83-be61-932cb634f6d2",
  "applicationId": "25f3da59-f1ae-4ac9-bb08-c56d742b37b9",
  "applicationVersionId": "3973d03d-3941-4d8a-8366-c3f13dcd299e",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-09-05T21:58:03.7957379+00:00",
  "updatedDateUtc": "2026-09-05T21:58:03.7957379+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-09-05T21:58:03.7957379+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-09-05T21:58:03.7957379+00:00</UpdatedDateUtc>
  <ApplicationId>25f3da59-f1ae-4ac9-bb08-c56d742b37b9</ApplicationId>
  <ApplicationVersionId>3973d03d-3941-4d8a-8366-c3f13dcd299e</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>6d971494-fd09-4e83-be61-932cb634f6d2</DeviceGroupId>
  <DeviceId>51844cbe-85d8-4f3d-a45f-1159aaab3181</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>d1d84376-1b49-4aa6-8772-855eae564d0d</SyncTokenId>
  <TenantId>956087c4-5f83-4d3d-862f-cb9b92936343</TenantId>
  <UserGroupId>4c242b04-f216-4ba7-8b15-f0d7d25f0da9</UserGroupId>
  <UserId>396630ad-691e-42d1-a395-1cd5923d3595</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.