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": "7e107bc9-1d94-4971-87f1-a5275fc8210b",
  "tenantId": "7a71e49f-7f5d-48b0-94b7-7fcef96e07d5",
  "userId": "804e955a-6678-46ee-aab3-92f916f76161",
  "userGroupId": "fbf7401f-c9f7-4ac2-be71-f29b11792e3e",
  "deviceId": "ac90e4a2-d3a0-4ab3-a89a-81d1e3c2181c",
  "deviceGroupId": "b5d76911-fda9-4c9b-b8cf-1f21387d2e30",
  "applicationId": "c1b9cbd9-bcc1-47c6-97d4-1fcaf990325e",
  "applicationVersionId": "1a3de024-82f8-43e1-988a-0cb30617db8c",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2025-12-09T22:50:17.8204549+00:00",
  "updatedDateUtc": "2025-12-09T22:50:17.8204549+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-12-09T22:50:17.8204549+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-12-09T22:50:17.8204549+00:00</UpdatedDateUtc>
  <ApplicationId>c1b9cbd9-bcc1-47c6-97d4-1fcaf990325e</ApplicationId>
  <ApplicationVersionId>1a3de024-82f8-43e1-988a-0cb30617db8c</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>b5d76911-fda9-4c9b-b8cf-1f21387d2e30</DeviceGroupId>
  <DeviceId>ac90e4a2-d3a0-4ab3-a89a-81d1e3c2181c</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>7e107bc9-1d94-4971-87f1-a5275fc8210b</SyncTokenId>
  <TenantId>7a71e49f-7f5d-48b0-94b7-7fcef96e07d5</TenantId>
  <UserGroupId>fbf7401f-c9f7-4ac2-be71-f29b11792e3e</UserGroupId>
  <UserId>804e955a-6678-46ee-aab3-92f916f76161</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'.