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": "2dff4256-d1d9-448a-acc7-af8ed299c8fd",
  "tenantId": "be61fc9f-0855-4dde-9b57-68936cf4dcaa",
  "userId": "c38535f0-798c-4f03-9291-2f7b9071d068",
  "userGroupId": "d1da66b9-d5ac-419b-a858-7f0eed8cbcd4",
  "deviceId": "45a388ca-1202-42b8-b5c0-f850bf1b7e02",
  "deviceGroupId": "6d600c60-300b-4180-8d89-da8c0ab15c0a",
  "applicationId": "39b19bfc-c30b-4799-81f9-a521387c0c3c",
  "applicationVersionId": "e3342be5-ba05-4bbf-9b7e-694376398921",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-09-05T05:37:06.2517558+00:00",
  "updatedDateUtc": "2026-09-05T05:37:06.2517558+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-05T05:37:06.2517558+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-09-05T05:37:06.2517558+00:00</UpdatedDateUtc>
  <ApplicationId>39b19bfc-c30b-4799-81f9-a521387c0c3c</ApplicationId>
  <ApplicationVersionId>e3342be5-ba05-4bbf-9b7e-694376398921</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>6d600c60-300b-4180-8d89-da8c0ab15c0a</DeviceGroupId>
  <DeviceId>45a388ca-1202-42b8-b5c0-f850bf1b7e02</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>2dff4256-d1d9-448a-acc7-af8ed299c8fd</SyncTokenId>
  <TenantId>be61fc9f-0855-4dde-9b57-68936cf4dcaa</TenantId>
  <UserGroupId>d1da66b9-d5ac-419b-a858-7f0eed8cbcd4</UserGroupId>
  <UserId>c38535f0-798c-4f03-9291-2f7b9071d068</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.