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": "c702e8e9-d115-4ce6-9cdd-f5c3ad7c8839",
  "tenantId": "6f67e02f-5307-4ab3-bbea-8a3017af2934",
  "userId": "c5026b98-53f2-4d36-b4d1-8295dc0a7cc6",
  "userGroupId": "e434d3a2-dbfd-40c4-9e97-5b3ba7a264de",
  "deviceId": "ccd2e744-dd3f-4a1d-8f45-b5deab88545a",
  "deviceGroupId": "56902561-9beb-4533-80dc-15faf5e0c35b",
  "applicationId": "74f13ec9-7449-4771-8e85-44f44a72693f",
  "applicationVersionId": "ebd7fa6c-15b8-4cc6-8b92-c52f05aaaba5",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2025-04-16T04:57:44.0472491+00:00",
  "updatedDateUtc": "2025-04-16T04:57:44.0472491+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-04-16T04:57:44.0472491+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-04-16T04:57:44.0472491+00:00</UpdatedDateUtc>
  <ApplicationId>74f13ec9-7449-4771-8e85-44f44a72693f</ApplicationId>
  <ApplicationVersionId>ebd7fa6c-15b8-4cc6-8b92-c52f05aaaba5</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>56902561-9beb-4533-80dc-15faf5e0c35b</DeviceGroupId>
  <DeviceId>ccd2e744-dd3f-4a1d-8f45-b5deab88545a</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>c702e8e9-d115-4ce6-9cdd-f5c3ad7c8839</SyncTokenId>
  <TenantId>6f67e02f-5307-4ab3-bbea-8a3017af2934</TenantId>
  <UserGroupId>e434d3a2-dbfd-40c4-9e97-5b3ba7a264de</UserGroupId>
  <UserId>c5026b98-53f2-4d36-b4d1-8295dc0a7cc6</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.