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": "659a3fd1-8912-426a-ac05-9d13acbaa94c",
  "tenantId": "215aa4fd-d0f4-40fa-b87e-2c85e41e7563",
  "userId": "c2a93d78-c2eb-4034-a4d1-61e736373163",
  "userGroupId": "382ab761-3111-44e7-b028-915b7f6612c0",
  "deviceId": "e29b5785-fa51-4857-b5e5-3fdb83c5273d",
  "deviceGroupId": "7a5922f7-c581-470a-ad5f-893305daa221",
  "applicationId": "ae69b1e9-5bab-414f-b1ff-cc570996db7e",
  "applicationVersionId": "73fc3702-6bfc-4d01-8696-dda6c8c51a88",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2025-09-13T07:33:44.7622614+00:00",
  "updatedDateUtc": "2025-09-13T07:33:44.7622614+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>2025-09-13T07:33:44.7622614+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-09-13T07:33:44.7622614+00:00</UpdatedDateUtc>
  <ApplicationId>ae69b1e9-5bab-414f-b1ff-cc570996db7e</ApplicationId>
  <ApplicationVersionId>73fc3702-6bfc-4d01-8696-dda6c8c51a88</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>7a5922f7-c581-470a-ad5f-893305daa221</DeviceGroupId>
  <DeviceId>e29b5785-fa51-4857-b5e5-3fdb83c5273d</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>659a3fd1-8912-426a-ac05-9d13acbaa94c</SyncTokenId>
  <TenantId>215aa4fd-d0f4-40fa-b87e-2c85e41e7563</TenantId>
  <UserGroupId>382ab761-3111-44e7-b028-915b7f6612c0</UserGroupId>
  <UserId>c2a93d78-c2eb-4034-a4d1-61e736373163</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.