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": "2f4d4178-3acf-4abe-8d1d-f6fa38c1751f",
  "tenantId": "e5b439a3-cb70-4426-ba90-44e9997081bb",
  "userId": "cf4237e3-24a3-4af6-aac9-d73d171f4fe1",
  "userGroupId": "d9dd2877-2028-40de-bf76-d62f3ff15c8b",
  "deviceId": "60a44dbc-ae7f-4c39-b999-05e2e61a0d9e",
  "deviceGroupId": "e8c72cc9-4bf5-4a1b-857e-27a90e7920a4",
  "applicationId": "449c058e-4be1-4e71-a878-ee2e7c723738",
  "applicationVersionId": "ceb8e5ac-5507-4bed-8db5-bc643ce12ee8",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-06-08T06:53:19.4630252+00:00",
  "updatedDateUtc": "2026-06-08T06:53:19.4630252+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-08T06:53:19.4630252+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-06-08T06:53:19.4630252+00:00</UpdatedDateUtc>
  <ApplicationId>449c058e-4be1-4e71-a878-ee2e7c723738</ApplicationId>
  <ApplicationVersionId>ceb8e5ac-5507-4bed-8db5-bc643ce12ee8</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>e8c72cc9-4bf5-4a1b-857e-27a90e7920a4</DeviceGroupId>
  <DeviceId>60a44dbc-ae7f-4c39-b999-05e2e61a0d9e</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>2f4d4178-3acf-4abe-8d1d-f6fa38c1751f</SyncTokenId>
  <TenantId>e5b439a3-cb70-4426-ba90-44e9997081bb</TenantId>
  <UserGroupId>d9dd2877-2028-40de-bf76-d62f3ff15c8b</UserGroupId>
  <UserId>cf4237e3-24a3-4af6-aac9-d73d171f4fe1</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'.