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": "7d79eda0-3826-4d36-87f0-274d0a0b0d47",
  "tenantId": "95699bdc-387a-492d-bf79-aad98884d0c9",
  "userId": "54536457-8f24-410f-9696-6691fe4e402d",
  "userGroupId": "e464852a-1517-4edb-b138-d42a813667d4",
  "deviceId": "dd2be321-67f7-43d9-a628-574140bb8c54",
  "deviceGroupId": "8fcf07d2-4187-40d8-bbab-c27706cc7fb6",
  "applicationId": "1dcc0d5e-fa35-485c-b486-4f9a9bcfe333",
  "applicationVersionId": "4794d351-3966-4693-a9d1-d202f964b3a6",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-06-05T18:16:04.1795543+00:00",
  "updatedDateUtc": "2026-06-05T18:16:04.1795543+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-05T18:16:04.1795543+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-06-05T18:16:04.1795543+00:00</UpdatedDateUtc>
  <ApplicationId>1dcc0d5e-fa35-485c-b486-4f9a9bcfe333</ApplicationId>
  <ApplicationVersionId>4794d351-3966-4693-a9d1-d202f964b3a6</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>8fcf07d2-4187-40d8-bbab-c27706cc7fb6</DeviceGroupId>
  <DeviceId>dd2be321-67f7-43d9-a628-574140bb8c54</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>7d79eda0-3826-4d36-87f0-274d0a0b0d47</SyncTokenId>
  <TenantId>95699bdc-387a-492d-bf79-aad98884d0c9</TenantId>
  <UserGroupId>e464852a-1517-4edb-b138-d42a813667d4</UserGroupId>
  <UserId>54536457-8f24-410f-9696-6691fe4e402d</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'.