Introduction
Enables to reshop for an order after getting success response from order retrieve
Input
Http Headers
Key | Value | Required |
---|
Content-Type
| application/xml
| Yes |
Accept | */* | Yes |
Authorization
| Bearer {{access_token}} | Yes |
Content-Length
| <calculated when request is sent>
| Yes |
Host | <calculated when request is sent> | Yes |
User-Agent | PostmanRuntime/7.30.0
| Yes |
Accept-Encoding | gzip, deflate, br | Yes |
Connection | Keep-alive | Yes |
DeviceID | String | Yes |
Sequence
Endpoints
Test | Live |
---|
https://aks-cluster-test.ethiopianairlines.com
| https://ndc.ethiopianairlines.com
|
OrderCancel Request
<Document>
<Name>ETHIOPIAN AIRLINES NDC </Name>
<ReferenceVersion>1.0</ReferenceVersion>
</Document>
Request | Root node of the request schema
|
---|
Document
|
|
Name | Document Name |
ReferenceVersion | Reference Version |
<Party>
<Sender>
<TravelAgencySender>
<Name>Ethiopianairlines TravelAgency</Name>
<IATA_Number>12121212</IATA_Number>
<AgencyID Owner="ET">A345345435</AgencyID>
</TravelAgencySender>
</Sender>
<Participants>
<Participant>
<AggregatorParticipant SequenceNumber="1">
<Name>AAAIT PLC</Name>
<AggregatorID>88888888</AggregatorID>
</AggregatorParticipant>
</Participant>
</Participants>
<Recipient>
<ORA_Recipient>
<AirlineID>ET</AirlineID>
<Name>ETHIOPIAN AIRLINES</Name>
</ORA_Recipient>
</Recipient>
</Party>
Request | Root node of the request schema
|
---|
Party
| Aggregator and OTA information
|
Sender | |
TravelAgencySender | Travel agency involved in the request |
Name | Travel agency’s official name |
IATA_Number | Travel agency’s IATA number |
AgencyID | Travel agency’s Agency ID |
Participants | List of aggregators involved in the request |
Participant | |
AggregatorParticipant | |
@SequenceNumber | Unique position in the list e.g. 1, 2, 3 |
Name | Aggregator’s official name |
AggregatorID | Aggregator’s ID |
Recipient | |
ORA_Recipient | Offer responsible airline information |
AirlineID | IATA Airline code e.g. ET |
Name | Ethiopian Airlines |
<ExpectedRefundAmount>
<Total Code="USD">60.00</Total>
</ExpectedRefundAmount>
<Query>
<Order OrderID="{{OrderId}}" Owner="ET"/>
</Query>
PNR e.g. SDFGBC
Request | Root node of the request schema
|
---|
ExpectedRefundAmount
|
|
Total | Total refund amount |
@Code | Currency code e.g. USD |
Query | |
Order |
|
@OrderID | |
@owner | ET |
OrderReshop Response
<Document>
<Name>ETHIOPIAN AIRLINES NDC </Name>
<ReferenceVersion>1.0</ReferenceVersion>
</Document>
Request | Root node of the request schema
|
---|
Document
|
|
Name | Document Name |
ReferenceVersion | Reference Version |
<Success />
<Response>
<OrderReference>PRCTOB</OrderReference>
</Response>
Request | Root node of the request schema
|
---|
Shopping Response
|
|
ResponseID | Success response of the PNR - PRCTOB |
Error Response Description
Error responses
Erorr Code | Error Code Text
|
---|
400 | Page not found |
200 | Success response |
0 | Error |