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": "b6560fb3-ab1f-4246-a908-da5f88086f59",
  "tenantId": "f6c5752e-f83b-49d9-bc41-59eb7b0bce68",
  "userId": "e4f32598-7467-4fef-a9f7-4c03e861b095",
  "userGroupId": "2b0de6e5-d594-4af6-bf9b-02a3dce7f16b",
  "deviceId": "0e20aeec-5206-4040-bb65-6c6babca1ace",
  "deviceGroupId": "01af6b3c-2fb3-4666-a127-8ffb461b3d4c",
  "applicationId": "b690e3b5-98c1-42ee-9137-5d346a6092ac",
  "applicationVersionId": "f1a93a22-da96-4183-9b7d-2bc9fd6947ef",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2025-07-17T09:16:27.2895077+00:00",
  "updatedDateUtc": "2025-07-17T09:16:27.2895077+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-07-17T09:16:27.2895077+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-07-17T09:16:27.2895077+00:00</UpdatedDateUtc>
  <ApplicationId>b690e3b5-98c1-42ee-9137-5d346a6092ac</ApplicationId>
  <ApplicationVersionId>f1a93a22-da96-4183-9b7d-2bc9fd6947ef</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>01af6b3c-2fb3-4666-a127-8ffb461b3d4c</DeviceGroupId>
  <DeviceId>0e20aeec-5206-4040-bb65-6c6babca1ace</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>b6560fb3-ab1f-4246-a908-da5f88086f59</SyncTokenId>
  <TenantId>f6c5752e-f83b-49d9-bc41-59eb7b0bce68</TenantId>
  <UserGroupId>2b0de6e5-d594-4af6-bf9b-02a3dce7f16b</UserGroupId>
  <UserId>e4f32598-7467-4fef-a9f7-4c03e861b095</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.