200 OK
401 Unauthorized
meta
section at response object.200 OK
HTTP Code if operation is successful. Will contain a list of Hotel Policy 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 Hotel Policy 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 Hotel Policy.404 Not Found
HTTP Code if Hotel Policy with provided ID is not present at system.201 Created
401 Unauthorized
422 Unprocessable Entity
[required]
[required]
[optional]
[required]
[required]
HH:MM
format.[required]
HH:MM
format.[required]
none
, wifi
, wired
.[required]
entire_property
, public_areas
, all_rooms
, some_rooms
, business_centre
.[optional]
[required]
on_site
, nearby
, none
.[required]
not_available
, not_needed
, needed
.[required]
[required]
allowed
, not_allowed
, by_arrangements
, assistive_only
.[required]
[required]
[required]
no_smoking
, permitted_areas_only
, allowed
.201 Created
HTTP Code if operation is successful. Will contain a Hotel Policy 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 Hotel Policy 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 Hotel Policy 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 Hotel Policy with provided ID is not present at system.