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": "8759fc17-e97c-4f57-bfc0-7b018ab06c7a",
  "tenantId": "a790f012-58d2-4742-be0e-4e5062af4f9d",
  "userId": "1498a77c-4488-4f8d-ba8a-2e259c90c2b1",
  "userGroupId": "da34a652-3d49-4d37-a96a-c8786d25220a",
  "deviceId": "0ea23162-c948-45a6-9661-ee1a7033c929",
  "deviceGroupId": "0e8a864d-1db3-448f-a6b3-625f21f39556",
  "applicationId": "c2a27511-a534-4099-8273-3d5e6d5aa335",
  "applicationVersionId": "307746a0-fd64-47d8-bcfb-5c6e56585a59",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-06-25T19:44:03.0146721+00:00",
  "updatedDateUtc": "2026-06-25T19:44:03.0146721+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-06-25T19:44:03.0146721+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-06-25T19:44:03.0146721+00:00</UpdatedDateUtc>
  <ApplicationId>c2a27511-a534-4099-8273-3d5e6d5aa335</ApplicationId>
  <ApplicationVersionId>307746a0-fd64-47d8-bcfb-5c6e56585a59</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>0e8a864d-1db3-448f-a6b3-625f21f39556</DeviceGroupId>
  <DeviceId>0ea23162-c948-45a6-9661-ee1a7033c929</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>8759fc17-e97c-4f57-bfc0-7b018ab06c7a</SyncTokenId>
  <TenantId>a790f012-58d2-4742-be0e-4e5062af4f9d</TenantId>
  <UserGroupId>da34a652-3d49-4d37-a96a-c8786d25220a</UserGroupId>
  <UserId>1498a77c-4488-4f8d-ba8a-2e259c90c2b1</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.