Cyan Web API - Version 1


GET api/syncTokens?{userId}&{applicationId}

            Returns the last SyncToken for the specified user and application.
            

Request Information

Parameters

NameDescriptionAdditional information
userId

Define this parameter in the request URI.

applicationId

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "syncTokenId": "9157fb1c-88fb-49cd-a2a9-950704700b10",
  "tenantId": "bd9b1c72-1c4f-4c13-9e31-199415b67945",
  "userId": "476722fb-fe0e-48e0-9b9a-ecccb514edc5",
  "userGroupId": "3804cfe8-d56f-436d-befa-f50f8d747473",
  "deviceId": "6137fc4a-8e8e-4c67-8531-acae5f75420c",
  "deviceGroupId": "1f7d06d4-314b-4640-95cd-08a0f4cd7c98",
  "applicationId": "0e5177c9-2e80-4396-a36e-bfd579313f63",
  "applicationVersionId": "10098d93-0d3a-4a3a-8ce1-177fc87d1bbc",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2025-04-18T07:24:59.7923291+00:00",
  "updatedDateUtc": "2025-04-18T07:24:59.7923291+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-18T07:24:59.7923291+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2025-04-18T07:24:59.7923291+00:00</UpdatedDateUtc>
  <ApplicationId>0e5177c9-2e80-4396-a36e-bfd579313f63</ApplicationId>
  <ApplicationVersionId>10098d93-0d3a-4a3a-8ce1-177fc87d1bbc</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>1f7d06d4-314b-4640-95cd-08a0f4cd7c98</DeviceGroupId>
  <DeviceId>6137fc4a-8e8e-4c67-8531-acae5f75420c</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>9157fb1c-88fb-49cd-a2a9-950704700b10</SyncTokenId>
  <TenantId>bd9b1c72-1c4f-4c13-9e31-199415b67945</TenantId>
  <UserGroupId>3804cfe8-d56f-436d-befa-f50f8d747473</UserGroupId>
  <UserId>476722fb-fe0e-48e0-9b9a-ecccb514edc5</UserId>
</SyncTokenRepresentation>