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": "7df600f4-48c9-44d5-92b4-da07cafe3839",
"ProviderName": "sample string 8",
"ProviderType": "sample string 9",
"CompanyType": "sample string 10",
"ProviderID": "4d6b2676-3b20-45b6-b24c-4a71c06c7ac4",
"CountryID": 12,
"BookingDate": "2026-02-04T02:19:14.6117169+00:00",
"ShowID": 1,
"TheaterID": 1,
"CompanyRating": 1.1,
"ID": "cc291c96-95c1-49dd-a6f0-801cd511f181"
},
{
"CountryName": "sample string 1",
"ImageFileName": "sample string 2",
"Address": "sample string 3",
"SeatNumber": "sample string 4",
"SeatID": 1,
"HasSeatBooking": true,
"AllowsBooking": true,
"CompanyID": "7df600f4-48c9-44d5-92b4-da07cafe3839",
"ProviderName": "sample string 8",
"ProviderType": "sample string 9",
"CompanyType": "sample string 10",
"ProviderID": "4d6b2676-3b20-45b6-b24c-4a71c06c7ac4",
"CountryID": 12,
"BookingDate": "2026-02-04T02:19:14.6117169+00:00",
"ShowID": 1,
"TheaterID": 1,
"CompanyRating": 1.1,
"ID": "cc291c96-95c1-49dd-a6f0-801cd511f181"
}
]
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-02-04T02:19:14.6117169+00:00</BookingDate>
<CompanyID>7df600f4-48c9-44d5-92b4-da07cafe3839</CompanyID>
<CompanyRating>1.1</CompanyRating>
<CompanyType>sample string 10</CompanyType>
<CountryID>12</CountryID>
<CountryName>sample string 1</CountryName>
<HasSeatBooking>true</HasSeatBooking>
<ID>cc291c96-95c1-49dd-a6f0-801cd511f181</ID>
<ImageFileName>sample string 2</ImageFileName>
<ProviderID>4d6b2676-3b20-45b6-b24c-4a71c06c7ac4</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-02-04T02:19:14.6117169+00:00</BookingDate>
<CompanyID>7df600f4-48c9-44d5-92b4-da07cafe3839</CompanyID>
<CompanyRating>1.1</CompanyRating>
<CompanyType>sample string 10</CompanyType>
<CountryID>12</CountryID>
<CountryName>sample string 1</CountryName>
<HasSeatBooking>true</HasSeatBooking>
<ID>cc291c96-95c1-49dd-a6f0-801cd511f181</ID>
<ImageFileName>sample string 2</ImageFileName>
<ProviderID>4d6b2676-3b20-45b6-b24c-4a71c06c7ac4</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>