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": "384fe19e-42c0-4fe7-ab3b-7aacc2469a62",
  "tenantId": "3ec44797-b498-482f-850e-ee3589c24f3c",
  "userId": "2d53c474-6461-4130-8918-982997c1556f",
  "userGroupId": "e9ea9021-43fd-429d-a4b3-376a44067ac5",
  "deviceId": "d88fda49-5ba9-4d76-87d4-3d0177b39e22",
  "deviceGroupId": "8f592f63-d01e-46e6-b7b3-829a6a0b6bae",
  "applicationId": "061815d4-8587-45fa-8625-a30afc9edeb0",
  "applicationVersionId": "cf9e6549-8708-46a7-8971-d7324850fb73",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-01-31T15:43:38.508243+00:00",
  "updatedDateUtc": "2026-01-31T15:43:38.508243+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-01-31T15:43:38.508243+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-01-31T15:43:38.508243+00:00</UpdatedDateUtc>
  <ApplicationId>061815d4-8587-45fa-8625-a30afc9edeb0</ApplicationId>
  <ApplicationVersionId>cf9e6549-8708-46a7-8971-d7324850fb73</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>8f592f63-d01e-46e6-b7b3-829a6a0b6bae</DeviceGroupId>
  <DeviceId>d88fda49-5ba9-4d76-87d4-3d0177b39e22</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>384fe19e-42c0-4fe7-ab3b-7aacc2469a62</SyncTokenId>
  <TenantId>3ec44797-b498-482f-850e-ee3589c24f3c</TenantId>
  <UserGroupId>e9ea9021-43fd-429d-a4b3-376a44067ac5</UserGroupId>
  <UserId>2d53c474-6461-4130-8918-982997c1556f</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'.