GET api/AccessControlTokens?changesSince={changesSince}

Downloads the tokens a scanner needs. The session must be logged in as a user with the Scanner role who is linked to an Access Control Location. The result is the tokens for products that use the Access Control Schemes linked to that location, where the product's performance is within the scheme's active times. An error (500) if the request has no session.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
changesSince

Optional. Only tokens changed since this time, for an incremental download. Omit it to download everything.

date

Required

Body Parameters

None.

Response Information

Resource Description

The tokens.

Collection of AccessControlTokenDT
NameDescriptionTypeAdditional information
ExtraData

More data about the token, by name.

Dictionary of string [key] and string [value]

None.

AccessControlToken

string

None.

ItemId

globally unique identifier

None.

CreatedDateTime

date

None.

CancelledDateTime

date

None.

UsedDateTime

date

None.

ItemDeliveryId

globally unique identifier

None.

ExtendedValue

string

None.

IsSaved

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "extraData": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "accessControlToken": "sample string 2",
    "itemId": "4a3324d3-d0d7-4f8b-a2d1-35c67aa037bd",
    "createdDateTime": "2026-11-04T14:43:13.1002519+00:00",
    "cancelledDateTime": "2026-11-04T14:43:13.1002519+00:00",
    "usedDateTime": "2026-11-04T14:43:13.1002519+00:00",
    "itemDeliveryId": "b45d2158-4721-43ca-b8f2-951bac03b9d4",
    "extendedValue": "sample string 5",
    "isSaved": true
  },
  {
    "extraData": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "accessControlToken": "sample string 2",
    "itemId": "4a3324d3-d0d7-4f8b-a2d1-35c67aa037bd",
    "createdDateTime": "2026-11-04T14:43:13.1002519+00:00",
    "cancelledDateTime": "2026-11-04T14:43:13.1002519+00:00",
    "usedDateTime": "2026-11-04T14:43:13.1002519+00:00",
    "itemDeliveryId": "b45d2158-4721-43ca-b8f2-951bac03b9d4",
    "extendedValue": "sample string 5",
    "isSaved": true
  }
]