POST_engage_sites_{siteReference}_readerdefaults

Creates Reader Default Settings for Site

POST /engage/sites/{siteReference}/}/readerdefaults

This API creates reader default settings for the requested site. The existing reader default settings as defined in ENGAGE are used.

Authentication

Basic Authentication, must be a partner managed account type.

URL Parameters

Required:

siteReference = [string]

Data Parameters

None

Success Response:

Code: 200
Content: 

{"Timestamp":"636543507614841249","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"}]}

Error Response:

Scenario: Invalid token or Unauthorized user.

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

Scenario: Site default reader setting for specified site already exists.

Code: 412 Precondition Failed
Content: "The device type already has default settings for the facility."

Scenario: If the site reference is not valid.

Code: 400 Bad request.
Content: "Invalid SiteReference."

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

Code: 400 Bad Request
Content: "Invalid Facility Reference.”