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": "2b395390-8310-410d-b7e8-4701f0a7b525",
  "tenantId": "ea417409-4390-48f4-aa13-960694853d0b",
  "userId": "a4eaf9bb-a0b2-4427-a3b1-46b470fa8284",
  "userGroupId": "4d6fd004-7727-4383-a2d9-1cbc4972866e",
  "deviceId": "f11c5689-e967-4b31-b876-815581f13dc6",
  "deviceGroupId": "c2402cff-d09e-4f96-a56b-fbd9b803ebca",
  "applicationId": "5ea1c1d7-59b8-418f-91af-9bf0a49b6027",
  "applicationVersionId": "06eb322d-735e-42f7-867c-cf07d4e38fd6",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-11-04T22:04:42.9511627+00:00",
  "updatedDateUtc": "2026-11-04T22:04:42.9511627+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-11-04T22:04:42.9511627+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-11-04T22:04:42.9511627+00:00</UpdatedDateUtc>
  <ApplicationId>5ea1c1d7-59b8-418f-91af-9bf0a49b6027</ApplicationId>
  <ApplicationVersionId>06eb322d-735e-42f7-867c-cf07d4e38fd6</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>c2402cff-d09e-4f96-a56b-fbd9b803ebca</DeviceGroupId>
  <DeviceId>f11c5689-e967-4b31-b876-815581f13dc6</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>2b395390-8310-410d-b7e8-4701f0a7b525</SyncTokenId>
  <TenantId>ea417409-4390-48f4-aa13-960694853d0b</TenantId>
  <UserGroupId>4d6fd004-7727-4383-a2d9-1cbc4972866e</UserGroupId>
  <UserId>a4eaf9bb-a0b2-4427-a3b1-46b470fa8284</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'.