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": "32a3a5cd-8766-4e9b-9853-30aa21aaebc7",
  "tenantId": "55e438aa-a263-409e-93db-f7ce7296eef7",
  "userId": "a1607d07-4374-46d7-8491-ee06a168ce1d",
  "userGroupId": "ab339b30-b747-4ea3-a509-24309aceb991",
  "deviceId": "4e52c5e8-c2bb-4371-bfb2-87c29bf0cdd1",
  "deviceGroupId": "a6d580dd-efbd-43d7-a70a-98f14191f640",
  "applicationId": "e3231b58-ff63-495d-a74f-1f2305673a35",
  "applicationVersionId": "c70972d9-7a66-4229-9c0d-b047eb60fc61",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-07-08T19:38:01.3932064+00:00",
  "updatedDateUtc": "2026-07-08T19:38:01.3932064+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-07-08T19:38:01.3932064+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-07-08T19:38:01.3932064+00:00</UpdatedDateUtc>
  <ApplicationId>e3231b58-ff63-495d-a74f-1f2305673a35</ApplicationId>
  <ApplicationVersionId>c70972d9-7a66-4229-9c0d-b047eb60fc61</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>a6d580dd-efbd-43d7-a70a-98f14191f640</DeviceGroupId>
  <DeviceId>4e52c5e8-c2bb-4371-bfb2-87c29bf0cdd1</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>32a3a5cd-8766-4e9b-9853-30aa21aaebc7</SyncTokenId>
  <TenantId>55e438aa-a263-409e-93db-f7ce7296eef7</TenantId>
  <UserGroupId>ab339b30-b747-4ea3-a509-24309aceb991</UserGroupId>
  <UserId>a1607d07-4374-46d7-8491-ee06a168ce1d</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'.