Booking API
Response codes
| Http response code | Response body | Notes |
|---|---|---|
| 200 |
{}
|
|
| 204 | Used if request is OK/correct, but there is no data to return. | |
| 400 |
{
"Type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"Title": "One or more validation errors occurred.",
"State": 400,
"TraceId": "",
"Errors": {
"VariableName": [
"Example text"
]
}
}
|
|
| 400 |
{
"VariableName": [
"Example text number 2"
]
}
|
|
| 401 | You most likely need to update your bearer token | |
| 401 |
"Error message description" |
|
| 404 |
"<html />" |
The request URL does not exists |
| 500 |
{
"Message": "Example text"
}
|
There is an internal error in the API |