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": "99a02d87-31e4-4cdb-8930-61c9a34d2782",
  "tenantId": "5d65fa77-a645-4085-bb12-29774fa283b2",
  "userId": "c9be48ad-6dda-4da7-a4a4-0c2c69ea0136",
  "userGroupId": "43314f19-b6e2-444a-9b48-670ef7c9517e",
  "deviceId": "656f7d0f-2d9d-477d-b530-52a5272a71ca",
  "deviceGroupId": "37d77ced-14e5-4876-9843-7e5f076a271b",
  "applicationId": "e3e3b63e-b1d0-4e28-9b05-c1b92a865b18",
  "applicationVersionId": "0211b5a7-306d-43e5-a49a-6d103d415796",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-10-22T16:39:18.6261056+00:00",
  "updatedDateUtc": "2026-10-22T16:39:18.6261056+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-10-22T16:39:18.6261056+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-10-22T16:39:18.6261056+00:00</UpdatedDateUtc>
  <ApplicationId>e3e3b63e-b1d0-4e28-9b05-c1b92a865b18</ApplicationId>
  <ApplicationVersionId>0211b5a7-306d-43e5-a49a-6d103d415796</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>37d77ced-14e5-4876-9843-7e5f076a271b</DeviceGroupId>
  <DeviceId>656f7d0f-2d9d-477d-b530-52a5272a71ca</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>99a02d87-31e4-4cdb-8930-61c9a34d2782</SyncTokenId>
  <TenantId>5d65fa77-a645-4085-bb12-29774fa283b2</TenantId>
  <UserGroupId>43314f19-b6e2-444a-9b48-670ef7c9517e</UserGroupId>
  <UserId>c9be48ad-6dda-4da7-a4a4-0c2c69ea0136</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'.