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": "d85c9a6d-c879-4882-93ea-d7988963659f",
  "tenantId": "a213a31b-3ca8-425f-8568-abaec2ebe934",
  "userId": "c5de6869-dfc4-4aa1-b90e-b0fb4ad3ae44",
  "userGroupId": "a6b16d7a-6d07-4438-8825-b6974ba9788a",
  "deviceId": "b064266b-0d49-4349-8f6f-6485d53cf6a0",
  "deviceGroupId": "92b80f59-74cb-451c-8360-b1be741d8ab2",
  "applicationId": "0949149a-8c0b-42cf-8f98-2ca6f6e4119a",
  "applicationVersionId": "b47742c4-a107-4b1d-99f6-008479e0503b",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-08-12T00:05:34.4586066+00:00",
  "updatedDateUtc": "2026-08-12T00:05:34.4586066+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-12T00:05:34.4586066+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-08-12T00:05:34.4586066+00:00</UpdatedDateUtc>
  <ApplicationId>0949149a-8c0b-42cf-8f98-2ca6f6e4119a</ApplicationId>
  <ApplicationVersionId>b47742c4-a107-4b1d-99f6-008479e0503b</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>92b80f59-74cb-451c-8360-b1be741d8ab2</DeviceGroupId>
  <DeviceId>b064266b-0d49-4349-8f6f-6485d53cf6a0</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>d85c9a6d-c879-4882-93ea-d7988963659f</SyncTokenId>
  <TenantId>a213a31b-3ca8-425f-8568-abaec2ebe934</TenantId>
  <UserGroupId>a6b16d7a-6d07-4438-8825-b6974ba9788a</UserGroupId>
  <UserId>c5de6869-dfc4-4aa1-b90e-b0fb4ad3ae44</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.