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": "13206b7e-ac17-41be-aaf7-37304d2a49ce",
  "tenantId": "fc0d19a6-64fd-4343-87ad-5d30d0576f9f",
  "userId": "f6082e43-157c-4341-ac8f-31ba2e0be7e3",
  "userGroupId": "440538b5-6f1f-44a2-99f4-371b789378c8",
  "deviceId": "de572af0-03cd-4804-866d-98abec7c720d",
  "deviceGroupId": "04554d02-4929-40fd-a6e5-7c8cfc1763c7",
  "applicationId": "f61a869d-a340-4961-b494-e51ad9989436",
  "applicationVersionId": "39af3e95-8027-4ea2-8874-4bb721490b85",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2025-06-15T23:58:44.1761165+00:00",
  "updatedDateUtc": "2025-06-15T23:58:44.1761165+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>2025-06-15T23:58:44.1761165+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-06-15T23:58:44.1761165+00:00</UpdatedDateUtc>
  <ApplicationId>f61a869d-a340-4961-b494-e51ad9989436</ApplicationId>
  <ApplicationVersionId>39af3e95-8027-4ea2-8874-4bb721490b85</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>04554d02-4929-40fd-a6e5-7c8cfc1763c7</DeviceGroupId>
  <DeviceId>de572af0-03cd-4804-866d-98abec7c720d</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>13206b7e-ac17-41be-aaf7-37304d2a49ce</SyncTokenId>
  <TenantId>fc0d19a6-64fd-4343-87ad-5d30d0576f9f</TenantId>
  <UserGroupId>440538b5-6f1f-44a2-99f4-371b789378c8</UserGroupId>
  <UserId>f6082e43-157c-4341-ac8f-31ba2e0be7e3</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.