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.
When the access token has been received it is used in the server communication with Authorization
of type Bearer.
Example of a call to the /api/users
endpoint with the access token:
GET /api/users HTTP/1.1
Host: https://admin.skyresponse.com
Authorization: Bearer tkgY9yiM...plBp
Notice the header Authorization
, which must be in all endpoint calls except /api/token
. Without it you will be denied access to the server.
After the request you will recieve a list of all objects/users in JSON
format:
{
"Total": 52,
"Took": 6,
"Result": [
{
"UserId": 1,
"SellerId": 1,
"CustomerId": 1,
"SubCustomerId": 1,
"Customer": "Skyresponse Demo",
"SubCustomer": "",
"ResponseCenterId": 1,
"ResponseCenter": "Göteborg",
"AlarmHandlingId": 54,
"AlarmHandling": "Service",
"TelephoneNumber": "+000000000",
"Identifier": "+000000000",
"Name": "Demo User",
"Email": "demo.user@demo.eu",
"NationalIdNumber": "",
"NationalIdNumberClean": null,
"ShareAlarmWith": "",
"ShareAlarmWithClean": null,
"RegistrationTime": "2014-09-16T16:57:23Z",
"ResponseCenterFirstActivated": "2016-11-23T08:16:12Z",
"ResponseCenterValidTo": "2017-11-24T00:00:00Z",
"Active": true,
"Transmitters": []
}
]
}
This endpoint allows you to filter out objects 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 objects with query params:
curl -X GET 'https://admin.skyresponse.com/api/users?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.
When the access token has been received it is used in the server communication with Authorization
of type Bearer.
Example of a call to the /api/users
endpoint with the access token:
GET /api/users HTTP/1.1
Host: https://admin.skyresponse.com
Authorization: Bearer tkgY9yiM...plBp
Notice the header Authorization
, which must be in all endpoint calls except /api/token
. Without it you will be denied access to the server.
After the request you will recieve a list of all objects/users in JSON
format:
{
"Total": 52,
"Took": 6,
"Result": [
{
"UserId": 1,
"SellerId": 1,
"CustomerId": 1,
"SubCustomerId": 1,
"Customer": "Skyresponse Demo",
"SubCustomer": "",
"ResponseCenterId": 1,
"ResponseCenter": "Göteborg",
"AlarmHandlingId": 54,
"AlarmHandling": "Service",
"TelephoneNumber": "+000000000",
"Identifier": "+000000000",
"Name": "Demo User",
"Email": "demo.user@demo.eu",
"NationalIdNumber": "",
"NationalIdNumberClean": null,
"ShareAlarmWith": "",
"ShareAlarmWithClean": null,
"RegistrationTime": "2014-09-16T16:57:23Z",
"ResponseCenterFirstActivated": "2016-11-23T08:16:12Z",
"ResponseCenterValidTo": "2017-11-24T00:00:00Z",
"Active": true,
"Transmitters": []
}
]
}
This endpoint allows you to filter out objects 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 objects with query params:
curl -X GET 'https://admin.skyresponse.com/api/users?Page=1&PageSize=1' -H "Authorization: Bearer PASTE_YOUR_TOKEN_HERE"