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": "46b41b7b-e292-4295-804c-edff5951bf16",
  "tenantId": "313df5e3-206a-44cd-b012-fe9896f5e15f",
  "userId": "a4104b19-b4bd-42c8-9b72-1ad3f03f7b27",
  "userGroupId": "7c8b75f4-e013-4a94-bff9-5d7a3e40e93c",
  "deviceId": "766e6e62-b222-48fd-93d9-bc91ff6c1b29",
  "deviceGroupId": "506d0f46-626d-491f-a253-331f4be591d8",
  "applicationId": "68f9bba8-4f08-4195-aecd-835cee43350d",
  "applicationVersionId": "7b93f117-3bd5-4071-8332-991ae8116ec9",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-02-02T23:49:46.4659594+00:00",
  "updatedDateUtc": "2026-02-02T23:49:46.4659594+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-02-02T23:49:46.4659594+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-02-02T23:49:46.4659594+00:00</UpdatedDateUtc>
  <ApplicationId>68f9bba8-4f08-4195-aecd-835cee43350d</ApplicationId>
  <ApplicationVersionId>7b93f117-3bd5-4071-8332-991ae8116ec9</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>506d0f46-626d-491f-a253-331f4be591d8</DeviceGroupId>
  <DeviceId>766e6e62-b222-48fd-93d9-bc91ff6c1b29</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>46b41b7b-e292-4295-804c-edff5951bf16</SyncTokenId>
  <TenantId>313df5e3-206a-44cd-b012-fe9896f5e15f</TenantId>
  <UserGroupId>7c8b75f4-e013-4a94-bff9-5d7a3e40e93c</UserGroupId>
  <UserId>a4104b19-b4bd-42c8-9b72-1ad3f03f7b27</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.