POST api/Flight/CancelBooking

Request Information

URI Parameters

None.

Body Parameters

CancellationRequest
NameDescriptionTypeAdditional information
ClientCode

string

Required

UserID

string

None.

Key

string

None.

ReferenceNo

string

Required

TicketIDs

string

None.

TrackIDs

string

None.

TicketIndexs

string

None.

CancellationRemarks

string

None.

SessionID

string

None.

CancellationType

CancellationType

None.

RequestType

RequestType

None.

CancellationReason

string

None.

CancellationId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientCode": "sample string 1",
  "UserID": "sample string 2",
  "Key": "sample string 3",
  "ReferenceNo": "sample string 4",
  "TicketIDs": "sample string 5",
  "TrackIDs": "sample string 6",
  "TicketIndexs": "sample string 7",
  "CancellationRemarks": "sample string 8",
  "SessionID": "sample string 9",
  "CancellationType": 0,
  "RequestType": 0,
  "CancellationReason": "sample string 10",
  "CancellationId": "sample string 11"
}

application/xml, text/xml

Sample:
<CancellationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FlightService.DataTransferObject">
  <CancellationId>sample string 11</CancellationId>
  <CancellationReason>sample string 10</CancellationReason>
  <CancellationRemarks>sample string 8</CancellationRemarks>
  <CancellationType>NotSet</CancellationType>
  <ClientCode>sample string 1</ClientCode>
  <Key>sample string 3</Key>
  <ReferenceNo>sample string 4</ReferenceNo>
  <RequestType>NotSet</RequestType>
  <SessionID>sample string 9</SessionID>
  <TicketIDs>sample string 5</TicketIDs>
  <TicketIndexs>sample string 7</TicketIndexs>
  <TrackIDs>sample string 6</TrackIDs>
  <UserID>sample string 2</UserID>
</CancellationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CancellationResponse
NameDescriptionTypeAdditional information
Status

string

None.

Key

string

None.

ClientCode

string

None.

ReferenceNo

string

None.

AirCancellationReponse

Collection of CancellationResponse

None.

ChangeRequestId

string

None.

CancelStatus

string

None.

Remarks

string

None.

ErrorCode

string

None.

ErrorMessage

string

None.

RefundedAmount

decimal number

None.

CancellationCharge

decimal number

None.

ServiceTaxOnRAF

decimal number

None.

ChangeRequestStatus

string

None.

TrackIds

string

None.

TicketIndex

string

None.

TransactionID

string

None.

CancellationId

string

None.

Error

Error

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.