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": "16f82975-f544-4fea-a5e8-1a70a02c3505",
  "tenantId": "53aa55f2-6e76-4911-96d2-c1b8b4e570a6",
  "userId": "bfe7d92a-ab55-4f3e-9c74-4d8c903a35c3",
  "userGroupId": "3ad9eba1-5ac1-4ec9-8e96-a507ccbc576f",
  "deviceId": "c3e3ea6b-6a33-48f9-85e2-0dc3fdfb138e",
  "deviceGroupId": "fb5da6bb-5789-4e3e-8420-404d41018c0e",
  "applicationId": "cd77c84a-0ca9-468c-b45f-b9770a99abfd",
  "applicationVersionId": "b761f096-db1f-48ce-98e2-040a0bfdc36f",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-07-27T03:59:18.7943042+00:00",
  "updatedDateUtc": "2026-07-27T03:59:18.7943042+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-27T03:59:18.7943042+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-07-27T03:59:18.7943042+00:00</UpdatedDateUtc>
  <ApplicationId>cd77c84a-0ca9-468c-b45f-b9770a99abfd</ApplicationId>
  <ApplicationVersionId>b761f096-db1f-48ce-98e2-040a0bfdc36f</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>fb5da6bb-5789-4e3e-8420-404d41018c0e</DeviceGroupId>
  <DeviceId>c3e3ea6b-6a33-48f9-85e2-0dc3fdfb138e</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>16f82975-f544-4fea-a5e8-1a70a02c3505</SyncTokenId>
  <TenantId>53aa55f2-6e76-4911-96d2-c1b8b4e570a6</TenantId>
  <UserGroupId>3ad9eba1-5ac1-4ec9-8e96-a507ccbc576f</UserGroupId>
  <UserId>bfe7d92a-ab55-4f3e-9c74-4d8c903a35c3</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.