POST api/FlightBooking/ValidateSelectedFlight
Request Information
URI Parameters
None.
Body Parameters
FlightValidationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| RequestId | string |
None. |
|
| SelectedFlightId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RequestId": "sample string 1",
"SelectedFlightId": "sample string 2"
}
text/xml
Sample:
<FlightValidationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RightRez.Web.Api.Models.FlightBooking"> <RequestId>sample string 1</RequestId> <SelectedFlightId>sample string 2</SelectedFlightId> </FlightValidationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
FlightValidationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ItineraryIsValid | boolean |
None. |
|
| HasFareDifference | boolean |
None. |
|
| HasClassOfServiceChange | boolean |
None. |
|
| HasError | boolean |
None. |
|
| ErrorInformation | string |
None. |
|
| ItineraryFare | string |
None. |
|
| ItineraryFareInformation | FlightValidationFare |
None. |
|
| FlightsWithIssues | Collection of FlightValidationFlight |
None. |
|
| FlightValidationResults | Collection of ValidationResult |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
text/xml
Sample:
Sample not available.