Elements for ExchangeEmdRQ Response
The ExchangeEmdRS XML payload contains much more information than the Sabre green screen response. If you have agents or Sabre subject matter experts who will be using the Sabre green screen version as a point of reference, you may wish to include most of the elements from the green screen response when you design your client/GUI to avoid the perception that the green screen version and the API version are functionally different. They are not – both versions use the same internal processes and apply the same business rules.
Element |
XPath (from root ExchangeEmdRS) |
Purpose |
<Old/> |
//BaseComparisson/Old |
Provides the value of the EMD presented for exchange |
<New/> |
//BaseComparisson/New |
Provides the cost of the Air Extra(s) which will be fulfilled with the exchange |
<Difference/> |
//BaseComparisson/Difference |
Provides the difference in price between the EMD to be exchanged and the Air Extra items to be fulfilled. |
<ResidualAmount/> |
//PriceComparisson/ResidualAmount |
Provides the residual amount forfeited, if the exchange is fulfilled |
@currencyCode |
//PriceComparisson/ResidualAmount@currencyCode |
Currency code of the residual amount |
@decimalPlaces |
//PriceComparisson/ResidualAmount@decimalPlaces |
Decimal places in the currency code of the residual amount. |