POST api/BusinessToBusiness/GetMyBookings
Request Information
URI Parameters
None.
Body Parameters
MyBookingsModelName | Description | Type | Additional information |
---|---|---|---|
firstName | string |
None. |
|
lastName | string |
None. |
|
bookingCode | string |
None. |
|
getAllBookings | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "firstName": "sample string 1", "lastName": "sample string 2", "bookingCode": "sample string 3", "getAllBookings": true }
application/xml, text/xml
Sample:
<MyBookingsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flynet.API.Models"> <bookingCode>sample string 3</bookingCode> <firstName>sample string 1</firstName> <getAllBookings>true</getAllBookings> <lastName>sample string 2</lastName> </MyBookingsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of BookingName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
AdultCount | integer |
None. |
|
ChildCount | integer |
None. |
|
InfantCount | integer |
None. |
|
PassengerCount | integer |
None. |
|
PriceAndCurrencyCode | string |
None. |
|
CurrencyCode | string |
None. |
|
ClassName | string |
None. |
|
CustomerUserId | globally unique identifier |
None. |
|
Price | decimal number |
None. |
|
BaseFare | decimal number |
None. |
|
TotalTax | decimal number |
None. |
|
AdultPrice | decimal number |
None. |
|
AdultPriceTax | decimal number |
None. |
|
AdultPriceWithoutTax | decimal number |
None. |
|
ChildPrice | decimal number |
None. |
|
ChildPriceTax | decimal number |
None. |
|
ChildPriceWithoutTax | decimal number |
None. |
|
InfantPrice | decimal number |
None. |
|
InfantPriceTax | decimal number |
None. |
|
InfantPriceWithoutTax | decimal number |
None. |
|
IsRefundable | boolean |
None. |
|
PenaltyInfo | PenaltyInfo |
None. |
|
Status | string |
None. |
|
BookingPassengers | Collection of BookingPassenger |
None. |
|
ContactInfo | Contact |
None. |
|
Trip | Trip |
None. |
|
TotalPriceQuote | integer |
None. |
|
DepartureDate | date |
None. |
|
ArrivalDate | date |
None. |
|
PaymentStatus | string |
None. |
|
PaymentType | string |
None. |
|
PaidAmmount | decimal number |
None. |
|
CcFees | decimal number |
None. |
|
SecCode | string |
None. |
|
EFawateercomCode | string |
None. |
|
RefId | string |
None. |
|
LeaderName | string |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.