POST api/Booking/AddBookingPassengersAsync
Request Information
URI Parameters
None.
Body Parameters
BookingPassengersAndContact| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingPassengers | Collection of BookingPassenger |
None. |
|
| ContactInfo | Contact |
None. |
|
| CustomerUserId | globally unique identifier |
None. |
|
| AddPassengerToPassengersList | boolean |
None. |
Request 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.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BookingPassengersRes| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| SecCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"SecCode": "sample string 2"
}
application/xml, text/xml
Sample:
<BookingPassengersRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flynet.API.Models"> <IsSuccess>true</IsSuccess> <SecCode>sample string 2</SecCode> </BookingPassengersRes>