200 OK
401 Unauthorized
meta
section at response object.200 OK
HTTP Code if operation is successful. Will contain a list of Subscription objects in the answer.
Unauthorised Error
Method can return a Unauthorised Error result with 401 Unauthorized
HTTP Code if wrong Bearer Token provided.200 OK
401 Unauthorized
404 Not Found
200 OK
HTTP Code if operation is successful. Will contain a Subscription object in the answer.
Unauthorised Error
Method can return a Unauthorised Error result with 401 Unauthorized
HTTP Code if wrong Bearer Token provided or User not have access to requested Subscription.404 Not Found
HTTP Code if Subscription with provided ID is not exists.201 Created
401 Unauthorized
422 Unprocessable Entity
[required]
[required]
[required]
ari
and booking
. You can specify different endpoints for different events using event_mask
field or subscribe to any event by passing *
as event_mask.
For ari
event event mask support filtering by restriction, room type id and rate plan id. In that case, event mask should looks like: event:restrictions:room_type_ids:rate_plan_ids
where restrictions, room_type_ids and rate_plan_ids can contain several comma separated values.
Real example to listen rate changes at Rate Plan with ID equal to 96a44e07-2158-43e4-8baa-8f6f56922ba8
:
ari:rate:*:96a44e07-2158-43e4-8baa-8f6f56922ba8
[optional]
[optional]
{"Authorization": "Basic user:password"}
[optional]
is_active
field equal to true
value can receive notifications.
Receive false
as default value.[optional]
false
we are call callback url without any information about changes.
Receive false
as default value.201 Created
HTTP Code if operation is successful. Will contain a Subscription object in the answer.401 Unauthorized
HTTP Code if wrong Bearer Token provided.422 Unprocessable Entity
HTTP Code if any validation rule is failed.200 OK
401 Unauthorized
404 Not Found
422 Unprocessable Entity
200 OK
HTTP Code if operation is successful. Will contain a Subscription object in the answer.
Unauthorised Error
Method can return a Unauthorised Error result with 401 Unauthorized
HTTP Code if wrong Bearer Token provided.404 Not Found
HTTP Code if Subscription with provided ID is not present at system.422 Unprocessable Entity
HTTP Code if any validation rule is failed.200 OK
401 Unauthorized
404 Not Found
200 OK
HTTP Code if operation is successful. Will contain a Meta object with message in the answer.401 Unauthorized
HTTP Code if wrong Bearer Token provided.404 Not Found
HTTP Code if Subscription with provided ID is not present at system.200 OK
200 OK
HTTP Code with body and status code of request results to your endpoint.user_id
), who trigger that changes. This information will help you to identify should you apply this changes at your side or not.stop_sell
)stop_sell_manual
)true
value if specific date not have available rooms, have 0 rate or have enabled manual Stop Sell.stop_sell
values and use only stop_sell_manual
which represent values installed by User.send_data
is true
.