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": "34e025e7-9986-459e-a734-e1ed474e5026",
  "tenantId": "486782da-3316-4a3d-9eb2-2bdb655c5ed9",
  "userId": "d3572dff-4add-4929-a994-9ef21aa1058d",
  "userGroupId": "b146b9f2-747c-4f8d-834f-f6cb225ed1e5",
  "deviceId": "ebc9cdf5-ffc1-4c91-8d85-a8979f4664d8",
  "deviceGroupId": "12c56633-656d-4549-8256-ec083d921c4e",
  "applicationId": "95e71a2b-44a5-4a01-9bc4-9ef7e0ffaf4e",
  "applicationVersionId": "3b2eb423-28fc-4172-8452-9061679b2c5d",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-03-07T15:46:20.4360184+00:00",
  "updatedDateUtc": "2026-03-07T15:46:20.4360184+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-03-07T15:46:20.4360184+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-03-07T15:46:20.4360184+00:00</UpdatedDateUtc>
  <ApplicationId>95e71a2b-44a5-4a01-9bc4-9ef7e0ffaf4e</ApplicationId>
  <ApplicationVersionId>3b2eb423-28fc-4172-8452-9061679b2c5d</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>12c56633-656d-4549-8256-ec083d921c4e</DeviceGroupId>
  <DeviceId>ebc9cdf5-ffc1-4c91-8d85-a8979f4664d8</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>34e025e7-9986-459e-a734-e1ed474e5026</SyncTokenId>
  <TenantId>486782da-3316-4a3d-9eb2-2bdb655c5ed9</TenantId>
  <UserGroupId>b146b9f2-747c-4f8d-834f-f6cb225ed1e5</UserGroupId>
  <UserId>d3572dff-4add-4929-a994-9ef21aa1058d</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'.