EMD Refund & Void API Reference
Put |
emds/{EMDNumber} Base path: Pre-production https://api.pp.travelport.com/11/air/ Production https://api.travelport.com/11/air/ |
Related Content: Ancillary and EMD Guide, EMD Display API Reference
Void an EMD to cancel it. You can also use EMD void with the GDS Exchange Ticketing APIs to refund an EMD back to the original FOP.
EMD Void not supported for NDC.
Request
Also see Authorization and Common Headers.
Query Parameters
None.
Request Body
Object |
Description |
Required/Optional |
---|---|---|
EMDQueryUpdateEMD |
Empty top level object. |
Required |
|
Supported values:
|
Required |
Response
Object |
Description |
---|---|
EMDListResponse |
Empty top level object. |
Result |
Returns messages about transaction. Key value pair:
|
Example Request
The message payload sends a blank EMDQueryUpdateEMD object.
{
"EMDQueryUpdateEMD" : {
}
}
Example Response
The EMD void returns the following response when successful.
{
"EMDListResponse": {
"Result": {
"status": "Complete"
}
}
}
When a voided EMD is retrieved using the EMD Display request, the EMDSegment/Status is Void, per the example below.
...
"EMDSegment": [
{
"EMDDescription": {
"code": "A",
"subCode": "0B5",
"codeContext": "IATA",
"value": "Air transportation"
},
"Amount": {
"CurrencyCode": {
"value": "AUD"
},
"Total": 26.36
},
"Status": "Void",
"PresentTo": "VA/VIRGIN AUSTRALIA INTERNATIONAL",
"PresentAt": "MEL/MELBOURNE"
}
],
...