GET_engage_sites_{siteReference}_readerdefaults

Create Reader Type Default Settings by Site

GET /engage/sites/{siteReference}/readerdefaults

This API creates reader default settings for the specified reader type in the requested site.

If reader default settings exist for a site, the API fetches these settings. If no default settings exist, then it creates default settings and sends them in response.

Authentication

Basic Authentication, must be a partner managed account type.

URI Parameters

siteReference = string (required)

Reference ID of the site

Data Parameters

None

Body

Type: application/json

Success Response:

Code: 200
Content: 

{"Timestamp":"636543500716797787","Settings":[{"Key":"proxConfHID","Value":"1"},{"Key":"proxConfGE4001","Value":"0"},
{"Key":"proxConfGE4002","Value":"1"},{"Key":"proxConfAWID","Value":"1"},{"Key":"proxGECASI","Value":"1"},
{"Key":"uid14443","Value":"0"},{"Key":"mi14443","Value":"1"},{"Key":"noc14443","Value":"1"},{"Key":"uid15693","Value":"1"},
{"Key":"iClsUID40b","Value":"0"},{"Key":"mip14443","Value":"1"},{"Key":"rdrSense","Value":"norm"}]}

Response Parameters

Timestamp = string

Timestamp value required if the user desires to change editable device parameters.

Settings = array

Reader’s key settings

Error Response:

Scenario: Invalid token or Unauthorized user.

Code: 401 Unauthorized
Content: {"Message": "Authentication failed."}

Scenario: If the site reference is not found in Database.

Code: 404 Not found
Content: "Facility not found.”