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": "91b1b794-07ba-44bd-9129-c3778a74ab20",
  "tenantId": "70e99b4d-f9b9-4681-9d05-9d3fd5b99c4a",
  "userId": "fafdcbd0-3751-4c7b-92d0-30de3ce0d6f3",
  "userGroupId": "5a3039b0-3739-4997-aa1c-8f97c7f9d753",
  "deviceId": "1a0a0d34-344c-4c7e-8d9d-b80f090b68d7",
  "deviceGroupId": "7826a29c-216e-4562-b49b-fcc5f0c253b1",
  "applicationId": "0f93dbbf-52b3-43f7-9532-9d83f61c7379",
  "applicationVersionId": "f8faf876-9e74-40ad-93a3-6ec47c7b733b",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-03-28T15:51:44.46238+00:00",
  "updatedDateUtc": "2026-03-28T15:51:44.46238+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-28T15:51:44.46238+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-03-28T15:51:44.46238+00:00</UpdatedDateUtc>
  <ApplicationId>0f93dbbf-52b3-43f7-9532-9d83f61c7379</ApplicationId>
  <ApplicationVersionId>f8faf876-9e74-40ad-93a3-6ec47c7b733b</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>7826a29c-216e-4562-b49b-fcc5f0c253b1</DeviceGroupId>
  <DeviceId>1a0a0d34-344c-4c7e-8d9d-b80f090b68d7</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>91b1b794-07ba-44bd-9129-c3778a74ab20</SyncTokenId>
  <TenantId>70e99b4d-f9b9-4681-9d05-9d3fd5b99c4a</TenantId>
  <UserGroupId>5a3039b0-3739-4997-aa1c-8f97c7f9d753</UserGroupId>
  <UserId>fafdcbd0-3751-4c7b-92d0-30de3ce0d6f3</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'.