POST api/Agents/GetViewPNR
Request Information
URI Parameters
None.
Body Parameters
IP_ViewPnrRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| pnr | string |
None. |
|
| pnrType | integer |
None. |
|
| userId | string |
None. |
|
| ticketWithFare | boolean |
None. |
|
| ticketWithtaxSplit | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"pnr": "sample string 1",
"pnrType": 2,
"userId": "sample string 3",
"ticketWithFare": true,
"ticketWithtaxSplit": true
}
application/xml, text/xml
Sample:
<IP_ViewPnrRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entity.Models.Input_class"> <pnr>sample string 1</pnr> <pnrType>2</pnrType> <ticketWithFare>true</ticketWithFare> <ticketWithtaxSplit>true</ticketWithtaxSplit> <userId>sample string 3</userId> </IP_ViewPnrRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |