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": "d59296a8-d7ee-4a73-b8b4-d6ce714493bd",
  "tenantId": "204ca90d-3d65-498e-be68-3113a526db44",
  "userId": "0f5c128f-a02d-4555-ab6e-d5e87b24fbec",
  "userGroupId": "a29ccd3f-b1bb-45f2-97e7-e8f137732bcd",
  "deviceId": "7e531926-2d76-41d6-a8d5-8e79a42c0881",
  "deviceGroupId": "572c5331-9e8a-4ff6-adbc-163c06d1642d",
  "applicationId": "0d4ec610-3a68-4d04-b5d7-d49105522966",
  "applicationVersionId": "2016f886-e90a-4f42-a668-091c8799585e",
  "requestedAnchorHex": "sample string 9",
  "currentDatabaseAnchorHex": "sample string 10",
  "pushToken": "sample string 11",
  "options": "sample string 12",
  "createdDateUtc": "2024-10-17T10:10:17.4825193+00:00",
  "updatedDateUtc": "2024-10-17T10:10:17.4825193+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>2024-10-17T10:10:17.4825193+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2024-10-17T10:10:17.4825193+00:00</UpdatedDateUtc>
  <ApplicationId>0d4ec610-3a68-4d04-b5d7-d49105522966</ApplicationId>
  <ApplicationVersionId>2016f886-e90a-4f42-a668-091c8799585e</ApplicationVersionId>
  <CurrentDatabaseAnchorHex>sample string 10</CurrentDatabaseAnchorHex>
  <DeviceGroupId>572c5331-9e8a-4ff6-adbc-163c06d1642d</DeviceGroupId>
  <DeviceId>7e531926-2d76-41d6-a8d5-8e79a42c0881</DeviceId>
  <Options>sample string 12</Options>
  <PushToken>sample string 11</PushToken>
  <RequestedAnchorHex>sample string 9</RequestedAnchorHex>
  <SyncTokenId>d59296a8-d7ee-4a73-b8b4-d6ce714493bd</SyncTokenId>
  <TenantId>204ca90d-3d65-498e-be68-3113a526db44</TenantId>
  <UserGroupId>a29ccd3f-b1bb-45f2-97e7-e8f137732bcd</UserGroupId>
  <UserId>0f5c128f-a02d-4555-ab6e-d5e87b24fbec</UserId>
</SyncTokenRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.