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": "783ea0d8-67da-4eff-b16a-9e76400790ed",
"ProviderName": "sample string 8",
"ProviderType": "sample string 9",
"CompanyType": "sample string 10",
"ProviderID": "dc2102ae-84bf-4f5b-bd8f-baab7a9d66ec",
"CountryID": 12,
"BookingDate": "2026-05-07T13:24:08.7345885+00:00",
"ShowID": 1,
"TheaterID": 1,
"CompanyRating": 1.1,
"ID": "f9494eee-312f-4c1a-bcaa-17ccb1c28824"
},
{
"CountryName": "sample string 1",
"ImageFileName": "sample string 2",
"Address": "sample string 3",
"SeatNumber": "sample string 4",
"SeatID": 1,
"HasSeatBooking": true,
"AllowsBooking": true,
"CompanyID": "783ea0d8-67da-4eff-b16a-9e76400790ed",
"ProviderName": "sample string 8",
"ProviderType": "sample string 9",
"CompanyType": "sample string 10",
"ProviderID": "dc2102ae-84bf-4f5b-bd8f-baab7a9d66ec",
"CountryID": 12,
"BookingDate": "2026-05-07T13:24:08.7345885+00:00",
"ShowID": 1,
"TheaterID": 1,
"CompanyRating": 1.1,
"ID": "f9494eee-312f-4c1a-bcaa-17ccb1c28824"
}
]
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>2026-05-07T13:24:08.7345885+00:00</BookingDate>
<CompanyID>783ea0d8-67da-4eff-b16a-9e76400790ed</CompanyID>
<CompanyRating>1.1</CompanyRating>
<CompanyType>sample string 10</CompanyType>
<CountryID>12</CountryID>
<CountryName>sample string 1</CountryName>
<HasSeatBooking>true</HasSeatBooking>
<ID>f9494eee-312f-4c1a-bcaa-17ccb1c28824</ID>
<ImageFileName>sample string 2</ImageFileName>
<ProviderID>dc2102ae-84bf-4f5b-bd8f-baab7a9d66ec</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>2026-05-07T13:24:08.7345885+00:00</BookingDate>
<CompanyID>783ea0d8-67da-4eff-b16a-9e76400790ed</CompanyID>
<CompanyRating>1.1</CompanyRating>
<CompanyType>sample string 10</CompanyType>
<CountryID>12</CountryID>
<CountryName>sample string 1</CountryName>
<HasSeatBooking>true</HasSeatBooking>
<ID>f9494eee-312f-4c1a-bcaa-17ccb1c28824</ID>
<ImageFileName>sample string 2</ImageFileName>
<ProviderID>dc2102ae-84bf-4f5b-bd8f-baab7a9d66ec</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>