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": "3d180b1c-4b35-4655-91f9-338ed355100e",
  "tenantId": "08e468ed-6e91-4e2c-8ca5-5359a6965ed2",
  "userId": "531d6e85-f149-4cff-9d47-98276d0edc6f",
  "userGroupId": "938f5b02-a457-4079-9ea9-66993e62519a",
  "deviceId": "c4929ea3-6ee4-4ce1-b7ef-758794b412f8",
  "deviceGroupId": "eca55de8-f86c-40b5-b230-3fd1c6ccf5a3",
  "applicationId": "cc4a67cf-3a9b-4a97-8c9e-6ac2cc6fccdc",
  "applicationVersionId": "c405f332-473d-4ef5-8cad-edba9945f228",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-08-02T06:03:49.7943037+00:00",
  "updatedDateUtc": "2026-08-02T06:03:49.7943037+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-08-02T06:03:49.7943037+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-08-02T06:03:49.7943037+00:00</UpdatedDateUtc>
  <ApplicationId>cc4a67cf-3a9b-4a97-8c9e-6ac2cc6fccdc</ApplicationId>
  <ApplicationVersionId>c405f332-473d-4ef5-8cad-edba9945f228</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>eca55de8-f86c-40b5-b230-3fd1c6ccf5a3</DeviceGroupId>
  <DeviceId>c4929ea3-6ee4-4ce1-b7ef-758794b412f8</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>3d180b1c-4b35-4655-91f9-338ed355100e</SyncTokenId>
  <TenantId>08e468ed-6e91-4e2c-8ca5-5359a6965ed2</TenantId>
  <UserGroupId>938f5b02-a457-4079-9ea9-66993e62519a</UserGroupId>
  <UserId>531d6e85-f149-4cff-9d47-98276d0edc6f</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'.