GET api/Bookings?bookingType={bookingType}
Get all booking
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingType |
Type 1 is for upcoming, and type 2 for previous, type 3 for vaccination booking |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BookingInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryName | string |
None. |
|
| ImageFileName | string |
None. |
|
| Address | string |
None. |
|
| SeatNumber | string |
None. |
|
| SeatID | integer |
None. |
|
| HasSeatBooking | boolean |
None. |
|
| AllowsBooking | boolean |
None. |
|
| CompanyID | globally unique identifier |
None. |
|
| ProviderName | string |
None. |
|
| ProviderType | string |
None. |
|
| CompanyType | string |
None. |
|
| ProviderID | globally unique identifier |
None. |
|
| CountryID | integer |
None. |
|
| BookingDate | date |
None. |
|
| ShowID | integer |
None. |
|
| TheaterID | integer |
None. |
|
| CompanyRating | decimal number |
None. |
|
| ID | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CountryName": "sample string 1",
"ImageFileName": "sample string 2",
"Address": "sample string 3",
"SeatNumber": "sample string 4",
"SeatID": 1,
"HasSeatBooking": true,
"AllowsBooking": true,
"CompanyID": "42980346-1ce6-4def-b24b-35ef531a56e1",
"ProviderName": "sample string 8",
"ProviderType": "sample string 9",
"CompanyType": "sample string 10",
"ProviderID": "17775cff-067e-4881-94ce-d7670ca64caf",
"CountryID": 12,
"BookingDate": "2025-12-14T08:53:50.1168717+00:00",
"ShowID": 1,
"TheaterID": 1,
"CompanyRating": 1.1,
"ID": "2a7ff08f-3169-48f2-9977-c6822f81397f"
},
{
"CountryName": "sample string 1",
"ImageFileName": "sample string 2",
"Address": "sample string 3",
"SeatNumber": "sample string 4",
"SeatID": 1,
"HasSeatBooking": true,
"AllowsBooking": true,
"CompanyID": "42980346-1ce6-4def-b24b-35ef531a56e1",
"ProviderName": "sample string 8",
"ProviderType": "sample string 9",
"CompanyType": "sample string 10",
"ProviderID": "17775cff-067e-4881-94ce-d7670ca64caf",
"CountryID": 12,
"BookingDate": "2025-12-14T08:53:50.1168717+00:00",
"ShowID": 1,
"TheaterID": 1,
"CompanyRating": 1.1,
"ID": "2a7ff08f-3169-48f2-9977-c6822f81397f"
}
]
application/xml, text/xml
Sample:
<ArrayOfBookingInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbsoluteHealth.API.Models">
<BookingInfo>
<Address>sample string 3</Address>
<AllowsBooking>true</AllowsBooking>
<BookingDate>2025-12-14T08:53:50.1168717+00:00</BookingDate>
<CompanyID>42980346-1ce6-4def-b24b-35ef531a56e1</CompanyID>
<CompanyRating>1.1</CompanyRating>
<CompanyType>sample string 10</CompanyType>
<CountryID>12</CountryID>
<CountryName>sample string 1</CountryName>
<HasSeatBooking>true</HasSeatBooking>
<ID>2a7ff08f-3169-48f2-9977-c6822f81397f</ID>
<ImageFileName>sample string 2</ImageFileName>
<ProviderID>17775cff-067e-4881-94ce-d7670ca64caf</ProviderID>
<ProviderName>sample string 8</ProviderName>
<ProviderType>sample string 9</ProviderType>
<SeatID>1</SeatID>
<SeatNumber>sample string 4</SeatNumber>
<ShowID>1</ShowID>
<TheaterID>1</TheaterID>
</BookingInfo>
<BookingInfo>
<Address>sample string 3</Address>
<AllowsBooking>true</AllowsBooking>
<BookingDate>2025-12-14T08:53:50.1168717+00:00</BookingDate>
<CompanyID>42980346-1ce6-4def-b24b-35ef531a56e1</CompanyID>
<CompanyRating>1.1</CompanyRating>
<CompanyType>sample string 10</CompanyType>
<CountryID>12</CountryID>
<CountryName>sample string 1</CountryName>
<HasSeatBooking>true</HasSeatBooking>
<ID>2a7ff08f-3169-48f2-9977-c6822f81397f</ID>
<ImageFileName>sample string 2</ImageFileName>
<ProviderID>17775cff-067e-4881-94ce-d7670ca64caf</ProviderID>
<ProviderName>sample string 8</ProviderName>
<ProviderType>sample string 9</ProviderType>
<SeatID>1</SeatID>
<SeatNumber>sample string 4</SeatNumber>
<ShowID>1</ShowID>
<TheaterID>1</TheaterID>
</BookingInfo>
</ArrayOfBookingInfo>