Note that some of the features that can be controlled via the API are related to the permissions assigned to your access token (seller, customer etc. with subcategories). Please contact Skyresponse support if any Forbidden
responses occur.
Example of a call to the /api/alarms/search
endpoint with the access token:
GET /api/alarms/search HTTP/1.1
Host: https://admin.skyresponse.com
Authorization: Bearer tkgY9yiM...plBp
If you don’t know how to get the Authorization
header, please proceed to the Authentication tutorial
After the request you will recieve a list of alarms in JSON
format:
{
"Total": 19643,
"Took": 9,
"Result": [
{
"AlarmId": 1,
"GlobalAlarmId": "440ed611cfa5f5520150509144428",
"UserId": 1,
"SellerId": 1,
"CustomerId": 1,
"Customer": "Skyresponse Demo",
"SubCustomer": "",
"SubCustomerId": null,
"ResponseCenterId": 59,
"ResponseCenter": "MBR Skyresponse Demo 2",
"OriginalResponseCenterId": 0,
"OriginalResponseCenter": null,
"AlarmHandlingId": 1,
"AlarmHandling": "AH Stockholm Personlarm",
"TelephoneNumber": "+1111111111",
"Name": "Demo Trigger User",
"ServerAlarmTime": "2015-05-09T14:44:31Z",
"DeactivationTime": "2015-05-09T14:46:48Z",
"AlarmCode": 1,
"Protocol": 0,
"AlarmCodeDescription": null,
"Flags": [
{
"Classification": 22
}
],
"Log": null,
"Active": false,
"Operator": null,
"AutomaticlyDeactivated": false
}
]
}
This endpoint allows you to filter out alarms using the next query params:
- Page (result page to be fetched, 1 by default)
- PageSize (numbers of results per page, 15 by default)
- q (search query)
... a lot more
cURL
example:Example of fetch alarms with query params:
curl -X GET 'https://admin.skyresponse.com/api/alarms/search?Page=1&PageSize=1' -H "Authorization: Bearer PASTE_YOUR_TOKEN_HERE"
Note that some of the features that can be controlled via the API are related to the permissions assigned to your access token (seller, customer etc. with subcategories). Please contact Skyresponse support if any Forbidden
responses occur.
Example of a call to the /api/alarms/search
endpoint with the access token:
GET /api/alarms/search HTTP/1.1
Host: https://admin.skyresponse.com
Authorization: Bearer tkgY9yiM...plBp
If you don’t know how to get the Authorization
header, please proceed to the Authentication tutorial
After the request you will recieve a list of alarms in JSON
format:
{
"Total": 19643,
"Took": 9,
"Result": [
{
"AlarmId": 1,
"GlobalAlarmId": "440ed611cfa5f5520150509144428",
"UserId": 1,
"SellerId": 1,
"CustomerId": 1,
"Customer": "Skyresponse Demo",
"SubCustomer": "",
"SubCustomerId": null,
"ResponseCenterId": 59,
"ResponseCenter": "MBR Skyresponse Demo 2",
"OriginalResponseCenterId": 0,
"OriginalResponseCenter": null,
"AlarmHandlingId": 1,
"AlarmHandling": "AH Stockholm Personlarm",
"TelephoneNumber": "+1111111111",
"Name": "Demo Trigger User",
"ServerAlarmTime": "2015-05-09T14:44:31Z",
"DeactivationTime": "2015-05-09T14:46:48Z",
"AlarmCode": 1,
"Protocol": 0,
"AlarmCodeDescription": null,
"Flags": [
{
"Classification": 22
}
],
"Log": null,
"Active": false,
"Operator": null,
"AutomaticlyDeactivated": false
}
]
}
This endpoint allows you to filter out alarms using the next query params:
- Page (result page to be fetched, 1 by default)
- PageSize (numbers of results per page, 15 by default)
- q (search query)
... a lot more
cURL
example:Example of fetch alarms with query params:
curl -X GET 'https://admin.skyresponse.com/api/alarms/search?Page=1&PageSize=1' -H "Authorization: Bearer PASTE_YOUR_TOKEN_HERE"