POST api/flight/order/{orderCode}/booking-content
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orderCode | string |
Required |
Body Parameters
AddBookingContentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| WayType | string |
None. |
|
| PNRNumber | string |
None. |
|
| Booking | string |
None. |
|
| BasePrice | decimal number |
None. |
|
| TotalPrice | decimal number |
None. |
|
| Currency | string |
None. |
|
| IssuedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"WayType": "sample string 1",
"PNRNumber": "sample string 2",
"Booking": "sample string 3",
"BasePrice": 4.0,
"TotalPrice": 5.0,
"Currency": "sample string 6",
"IssuedBy": "sample string 7"
}
application/xml, text/xml
Sample:
<AddBookingContentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmiletripB2B.API.Models"> <BasePrice>4</BasePrice> <Booking>sample string 3</Booking> <Currency>sample string 6</Currency> <IssuedBy>sample string 7</IssuedBy> <PNRNumber>sample string 2</PNRNumber> <TotalPrice>5</TotalPrice> <WayType>sample string 1</WayType> </AddBookingContentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.