POST Etihad/CancelHoldBooking

Request Information

URI Parameters

None.

Body Parameters

ApiHoldCancelRequest
NameDescriptionTypeAdditional information
PNRdetails

string

None.

Credentials

Collection of string

None.

Trip

character

None.

Logfilepath

string

None.

SupplierId

integer

None.

TravelType

character

None.

Request Formats

application/json, text/json

Sample:
{
  "PNRdetails": "sample string 1",
  "Credentials": [
    "sample string 1",
    "sample string 2"
  ],
  "Trip": "A",
  "Logfilepath": "sample string 3",
  "SupplierId": 4,
  "TravelType": "A"
}

application/xml, text/xml

Sample:
<ApiHoldCancelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortalEntity.Model">
  <Credentials xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Credentials>
  <Logfilepath>sample string 3</Logfilepath>
  <PNRdetails>sample string 1</PNRdetails>
  <SupplierId>4</SupplierId>
  <TravelType>65</TravelType>
  <Trip>65</Trip>
</ApiHoldCancelRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ApiHoldCancelRequest'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.