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": "a334c63f-791d-4b9e-986f-fe7d0d88d0dd",
  "tenantId": "8da372c4-e22d-4ff1-89d6-fde7fcf26a70",
  "userId": "1ad12b86-2d90-4863-ae70-78e6fe4878dc",
  "userGroupId": "7d4c324f-cc2a-4857-8be8-94aaca3ac65e",
  "deviceId": "456c95dc-70a0-4e5c-8546-b4635a2d5da1",
  "deviceGroupId": "5d6bc219-edf5-405f-9444-9e73be496666",
  "applicationId": "7f3b2f80-0286-4816-b7b6-0cf6913b80b9",
  "applicationVersionId": "f222c6aa-3bec-4ba0-b175-3aca752298db",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-09-10T16:26:35.2714364+00:00",
  "updatedDateUtc": "2026-09-10T16:26:35.2714364+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-09-10T16:26:35.2714364+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-09-10T16:26:35.2714364+00:00</UpdatedDateUtc>
  <ApplicationId>7f3b2f80-0286-4816-b7b6-0cf6913b80b9</ApplicationId>
  <ApplicationVersionId>f222c6aa-3bec-4ba0-b175-3aca752298db</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>5d6bc219-edf5-405f-9444-9e73be496666</DeviceGroupId>
  <DeviceId>456c95dc-70a0-4e5c-8546-b4635a2d5da1</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>a334c63f-791d-4b9e-986f-fe7d0d88d0dd</SyncTokenId>
  <TenantId>8da372c4-e22d-4ff1-89d6-fde7fcf26a70</TenantId>
  <UserGroupId>7d4c324f-cc2a-4857-8be8-94aaca3ac65e</UserGroupId>
  <UserId>1ad12b86-2d90-4863-ae70-78e6fe4878dc</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'.