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": "4d4ed693-a216-4352-bb3b-870390d7a3a1",
  "tenantId": "bacdceb0-d7fa-4fd8-a478-579d39407032",
  "userId": "2b9aa92f-ffe3-430a-9c00-f2aee100dfbf",
  "userGroupId": "6ccc5839-011f-4639-b4fa-6e363b173f57",
  "deviceId": "ad183a1a-661f-4fcd-a803-059411412ba6",
  "deviceGroupId": "ade00076-2700-4a6e-8233-b26cfa2e9bc3",
  "applicationId": "f8d77c4b-9ff6-4a34-bc2b-989ef92df324",
  "applicationVersionId": "90a697e5-0395-41ff-b97e-37d04750df7b",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2026-05-11T10:09:39.7697804+00:00",
  "updatedDateUtc": "2026-05-11T10:09:39.7697804+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-05-11T10:09:39.7697804+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2026-05-11T10:09:39.7697804+00:00</UpdatedDateUtc>
  <ApplicationId>f8d77c4b-9ff6-4a34-bc2b-989ef92df324</ApplicationId>
  <ApplicationVersionId>90a697e5-0395-41ff-b97e-37d04750df7b</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>ade00076-2700-4a6e-8233-b26cfa2e9bc3</DeviceGroupId>
  <DeviceId>ad183a1a-661f-4fcd-a803-059411412ba6</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>4d4ed693-a216-4352-bb3b-870390d7a3a1</SyncTokenId>
  <TenantId>bacdceb0-d7fa-4fd8-a478-579d39407032</TenantId>
  <UserGroupId>6ccc5839-011f-4639-b4fa-6e363b173f57</UserGroupId>
  <UserId>2b9aa92f-ffe3-430a-9c00-f2aee100dfbf</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.