The `check` action is used to retrieve the categories that are available.
- WebsocketsMethod
- wss://adac.api.yoursrs.com/ws?session_id=sessionIdURL
- application/jsonContent-Type
Name |
Type |
Description |
Restrictions |
sessionId |
String
|
UUID4, unique to session
|
|
Name |
Type |
Required / Optional |
Description |
Restrictions |
api_key |
String
|
Required |
Your ADAC API key
|
|
action |
Enum
|
Required |
Action to perform
|
Possible values:
|
Successful request
Categories have been retrieved successfully
- HTTP Status
- application/jsonContent-Type
Name |
Type |
Required / Optional |
Description |
action |
String
|
Required |
Action executed, will always be 'categories' in this case.
|
data |
List
<List>
|
Required |
List of category lists, with the first element being the category position and the second being the category name. e.g. [1, 'Europe']
|
Failed requests
Generic errors can be expected.
The tryout functionality for our API is only available for authenticated users. If you do not yet have an account, our support team can create it for you.
Email Support
Login