Get Site List

Receives list of active sites identified by its serial number

URL:

GET http://api.aurelon.com/api/v2/configuration/sites

Request Headers:

MisKey : see Authentication
HardwareHash : see Authentication
SerialNumber : see Authentication
ApplicationVersion : see Authentication

Response:

Content type application/json and contains the JSON of the known sites identified by the serial number.

Success:

200 OK : Array of sites
Example:

[{
    "SiteGUID":"8447e5b0-99ac-11e7-a2d0-215af4f8ef85",
    "SerialNumber":333674,
    "Location":null
}, {
    …
}]

Error:

  • 401 Unauthorised : {“Message”: “Invalid MisKey”}
  • 401 Unauthorised : {“Message”:”Invalid HardwareHash”}
  • 401 Unauthorised : {“Message”: “”MisKey” or “HardwareHash”, “SerialNumber” and “ApplicationVersion” header are required”}
  • 500 Internal Server Error : {“Message”:”Internal Server Error”}