POST api/FlightBooking/RefundProcess

Request Information

URI Parameters

None.

Body Parameters

RefundDTO
NameDescriptionTypeAdditional information
PNR

string

None.

sector

Collection of string

None.

Refundtype

string

None.

PassengerIndex

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PNR": "sample string 1",
  "sector": [
    "sample string 1",
    "sample string 2"
  ],
  "Refundtype": "sample string 2",
  "PassengerIndex": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<RefundDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FlightDisruptionBAL.DTO">
  <PNR>sample string 1</PNR>
  <PassengerIndex xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </PassengerIndex>
  <Refundtype>sample string 2</Refundtype>
  <sector xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </sector>
</RefundDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>