POST api/FlightBooking/AddApprovals
Request Information
URI Parameters
None.
Body Parameters
AddExceptionApprovalRequestName | Description | Type | Additional information |
---|---|---|---|
Approvals | Collection of PnrExceptionApproval |
None. |
|
Ticket | boolean |
None. |
|
Locator | string |
None. |
|
Id | integer |
None. |
|
ClientId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Approvals": [ { "ErrorMessage": "sample string 1", "ErrorType": 2, "ApprovalReason": "sample string 3" }, { "ErrorMessage": "sample string 1", "ErrorType": 2, "ApprovalReason": "sample string 3" } ], "Ticket": true, "Locator": "sample string 2", "Id": 3, "ClientId": "sample string 4" }
text/xml
Sample:
<AddExceptionApprovalRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RightRez.Web.Api.Models.FlightBooking"> <ClientId xmlns="http://schemas.datacontract.org/2004/07/RightRez.Autobook.PNRBookingEngine">sample string 4</ClientId> <Id xmlns="http://schemas.datacontract.org/2004/07/RightRez.Autobook.PNRBookingEngine">3</Id> <Locator xmlns="http://schemas.datacontract.org/2004/07/RightRez.Autobook.PNRBookingEngine">sample string 2</Locator> <Approvals> <PnrExceptionApproval> <ApprovalReason>sample string 3</ApprovalReason> <ErrorMessage>sample string 1</ErrorMessage> <ErrorType>2</ErrorType> </PnrExceptionApproval> <PnrExceptionApproval> <ApprovalReason>sample string 3</ApprovalReason> <ErrorMessage>sample string 1</ErrorMessage> <ErrorType>2</ErrorType> </PnrExceptionApproval> </Approvals> <Ticket>true</Ticket> </AddExceptionApprovalRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.