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": "5ca40e11-1a89-4af9-9b51-9759d308b614",
  "tenantId": "29f810f5-cc2d-4a73-8e9b-4ffd164dedac",
  "userId": "56b76ca5-e421-46f7-930d-737d4c549755",
  "userGroupId": "12c9274d-7b8e-41a6-a504-5189024636ff",
  "deviceId": "fb552aa5-e549-48af-b054-cf86e79986dd",
  "deviceGroupId": "4a13f8b9-2478-4989-82ae-07bfe645560d",
  "applicationId": "735939af-baa8-4814-984f-b9c76bb1e956",
  "applicationVersionId": "8d44d141-a9d2-4bd0-b927-d4be96b74218",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-03-14T07:26:50.1200596+00:00",
  "updatedDateUtc": "2026-03-14T07:26:50.1200596+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-03-14T07:26:50.1200596+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-03-14T07:26:50.1200596+00:00</UpdatedDateUtc>
  <ApplicationId>735939af-baa8-4814-984f-b9c76bb1e956</ApplicationId>
  <ApplicationVersionId>8d44d141-a9d2-4bd0-b927-d4be96b74218</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>4a13f8b9-2478-4989-82ae-07bfe645560d</DeviceGroupId>
  <DeviceId>fb552aa5-e549-48af-b054-cf86e79986dd</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>5ca40e11-1a89-4af9-9b51-9759d308b614</SyncTokenId>
  <TenantId>29f810f5-cc2d-4a73-8e9b-4ffd164dedac</TenantId>
  <UserGroupId>12c9274d-7b8e-41a6-a504-5189024636ff</UserGroupId>
  <UserId>56b76ca5-e421-46f7-930d-737d4c549755</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.