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": "fd3c9e6b-67e3-4cd1-aa0d-91d5cc421b92",
  "tenantId": "87c1beed-2669-4c41-b54e-74199ca57850",
  "userId": "98b577b4-80bf-414d-b9c4-93c40f002cc0",
  "userGroupId": "e54f5ba0-4672-4eef-a24e-3e566e7aef0e",
  "deviceId": "80e47bbf-4984-4eda-893b-6242cd417286",
  "deviceGroupId": "d6b30652-6869-4c86-91c2-c67638755edb",
  "applicationId": "eeaf0103-2f9c-4a14-a606-7dc6e3a9999c",
  "applicationVersionId": "4c5a6aa2-1a16-44d5-82a7-de224df8c9f4",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-08-27T04:31:10.042262+00:00",
  "updatedDateUtc": "2026-08-27T04:31:10.042262+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-08-27T04:31:10.042262+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-08-27T04:31:10.042262+00:00</UpdatedDateUtc>
  <ApplicationId>eeaf0103-2f9c-4a14-a606-7dc6e3a9999c</ApplicationId>
  <ApplicationVersionId>4c5a6aa2-1a16-44d5-82a7-de224df8c9f4</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>d6b30652-6869-4c86-91c2-c67638755edb</DeviceGroupId>
  <DeviceId>80e47bbf-4984-4eda-893b-6242cd417286</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>fd3c9e6b-67e3-4cd1-aa0d-91d5cc421b92</SyncTokenId>
  <TenantId>87c1beed-2669-4c41-b54e-74199ca57850</TenantId>
  <UserGroupId>e54f5ba0-4672-4eef-a24e-3e566e7aef0e</UserGroupId>
  <UserId>98b577b4-80bf-414d-b9c4-93c40f002cc0</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'.