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": "0629691b-2993-493d-ae4c-e67530ffb459",
  "tenantId": "671fa4d4-3481-49ea-9891-58c11e96cbfa",
  "userId": "e409ce39-8c26-4d65-aefd-1c3924ff68b4",
  "userGroupId": "5f85f604-59d8-41b2-8269-6940e99f6fb2",
  "deviceId": "4422670e-29a0-49ed-829f-fd87e215ab99",
  "deviceGroupId": "d6b47f81-4b10-4a7a-9383-5c48b667df49",
  "applicationId": "bce1b6a6-85dd-4d1f-a494-9657843b6a4c",
  "applicationVersionId": "63ab8b76-ddd3-43ff-89de-7ba31e8afc10",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-09-22T06:55:02.1478349+00:00",
  "updatedDateUtc": "2026-09-22T06:55:02.1478349+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-22T06:55:02.1478349+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-09-22T06:55:02.1478349+00:00</UpdatedDateUtc>
  <ApplicationId>bce1b6a6-85dd-4d1f-a494-9657843b6a4c</ApplicationId>
  <ApplicationVersionId>63ab8b76-ddd3-43ff-89de-7ba31e8afc10</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>d6b47f81-4b10-4a7a-9383-5c48b667df49</DeviceGroupId>
  <DeviceId>4422670e-29a0-49ed-829f-fd87e215ab99</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>0629691b-2993-493d-ae4c-e67530ffb459</SyncTokenId>
  <TenantId>671fa4d4-3481-49ea-9891-58c11e96cbfa</TenantId>
  <UserGroupId>5f85f604-59d8-41b2-8269-6940e99f6fb2</UserGroupId>
  <UserId>e409ce39-8c26-4d65-aefd-1c3924ff68b4</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'.