BookingAgency object represents the entity through which a reservation is made.
Resource | Description |
---|---|
GET /v1/BookingAgencies | Get all BookingAgencies of property |
Name | Type | Description |
---|---|---|
id | int | Unique identifier of BookingAgency |
isEnabled | int | Indicates if BookingAgency is enabled |
title | string (100) | Name assigned to BookingAgency |
Get all BookingAgencies of property.
Request parameters
None
Response
Request results in a list of BookingAgency objects.
Example Response
<?xml version="1.0" ?> <BookingAgencies> <BookingAgency id="1" isEnabled="1"> <Title>booking.com</Title> </BookingAgency> <BookingAgency id="4" isEnabled="1"> <Title>Expedia</Title> </BookingAgency> <BookingAgency id="11" isEnabled="1"> <Title>hoteliga booking engine</Title> </BookingAgency> <BookingAgency id="12" isEnabled="1"> <Title>Agoda</Title> </BookingAgency> </BookingAgencies>
[ { "id":1, "isEnabled":1, "title":"booking.com" }, { "id":4, "isEnabled":1, "title":"Expedia" }, { "id":11, "isEnabled":1, "title":"hoteliga booking engine" }, { "id":12, "isEnabled":1, "title":"Agoda" } ]