The Retrieve Agent Sales Report (TKT_AsrServicesRQ) API is used to provide airline customers with the ability to retrieve Agent Sales Reports (ASR) and update agent and station sales details.
Target Audience
Airline Carrier
API Version
1.2.2
Authentication
Session Token
Service Action Code
TKT_AsrServicesRQ
This service allows greater flexibility for sales reporting via XML, providing airlines with the capability to format data for validation, display, or print.
Features
- Use for airline websites, applications, front-end GUIs, web services, kiosk web services, and mobile applications
- Create custom web applications to interface with the data and generate reports in a structured way
- Customize the presentation of data
- Agent Sales Reports (ASRs) functionality
- Each report can be accessed using a unique request/response message using HTTP over SOAP, containing a unique XML payload
Business use cases
- Automate back-end processing of ASRs
- Extend the use of reporting services to existing Point of Sales (POS), airline web applications, or third-party vendors
- Allow Revenue Accounting Systems (RAS) to access online data for reconciliation purposes
- Have greater control of reconciliation of money collected
- Flexible report formatting with any application, such as an XLS spreadsheet
Sample Request
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<ns1:MessageHeader
ns1:version=""
xmlns:ns1="http://www.ebxml.org/namespaces/messageHeader">
<ns1:From>
<ns1:PartyId>999999</ns1:PartyId>
</ns1:From>
<ns1:To>
<ns1:PartyId>123123</ns1:PartyId>
</ns1:To>
<ns1:CPAId>IPCC</ns1:CPAId>
<ns1:ConversationId>ABC123</ns1:ConversationId>
<ns1:Service>TKT_AsrServicesRQ</ns1:Service>
<ns1:Action>TKT_AsrServicesRQ</ns1:Action>
<ns1:MessageData>
<ns1:MessageId>1000</ns1:MessageId>
<ns1:Timestamp>2015-10-28T11:11:11Z</ns1:Timestamp>
</ns1:MessageData>
</ns1:MessageHeader>
<ns1:Security
xmlns:ns1="http://schemas.xmlsoap.org/ws/2002/12/secext">
<ns1:BinarySecurityToken>Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSB!ICESMSLB\/STS.LB!-3000398624414709619!1615713!0</ns1:BinarySecurityToken>
</ns1:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<AccountingRQ
version="1.2.2" xmlns="http://www.sabre.com/ns/Ticketing/AsrServices/1.0">
<Header/>
<SelectionCriteria>
<AccountingReportOperation>display</AccountingReportOperation>
<TicketingProvider>EY</TicketingProvider>
<StationNumber>86493503</StationNumber>
<EmployeeNumber>902606</EmployeeNumber>
<ReportDate>2019-07-02</ReportDate>
</SelectionCriteria>
</AccountingRQ>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<ns1:MessageHeader
ns1:version=""
xmlns:ns1="http://www.ebxml.org/namespaces/messageHeader">
<ns1:From>
<ns1:PartyId>999999</ns1:PartyId>
</ns1:From>
<ns1:To>
<ns1:PartyId>123123</ns1:PartyId>
</ns1:To>
<ns1:CPAId>IPCC</ns1:CPAId>
<ns1:ConversationId>ABC123</ns1:ConversationId>
<ns1:Service>TKT_AsrServicesRQ</ns1:Service>
<ns1:Action>TKT_AsrServicesRQ</ns1:Action>
<ns1:MessageData>
<ns1:MessageId>1000</ns1:MessageId>
<ns1:Timestamp>2015-10-28T11:11:11Z</ns1:Timestamp>
</ns1:MessageData>
</ns1:MessageHeader>
<ns1:Security
xmlns:ns1="http://schemas.xmlsoap.org/ws/2002/12/secext">
<ns1:BinarySecurityToken>Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSB!ICESMSLB\/STS.LB!-3000398624414709619!1615713!0</ns1:BinarySecurityToken>
</ns1:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<AccountingRQ
version="1.2.2" xmlns="http://www.sabre.com/ns/Ticketing/AsrServices/1.0">
<Header/>
<SelectionCriteria>
<AccountingReportOperation>display</AccountingReportOperation>
<TicketingProvider>EY</TicketingProvider>
<StationNumber>86493503</StationNumber>
<EmployeeNumber>902606</EmployeeNumber>
<ReportDate>2019-07-02</ReportDate>
</SelectionCriteria>
</AccountingRQ>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Sample Response
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header>
<eb:MessageHeader
eb:version="1.0" soap-env:mustUnderstand="1"
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader">
<eb:From>
<eb:PartyId
eb:type="URI">123123</eb:PartyId>
</eb:From>
<eb:To>
<eb:PartyId
eb:type="URI">999999</eb:PartyId>
</eb:To>
<eb:CPAId>IPCC</eb:CPAId>
<eb:ConversationId>ABC123</eb:ConversationId>
<eb:Service>TKT_AsrServicesRQ</eb:Service>
<eb:Action>TKT_AsrServicesRS</eb:Action>
<eb:MessageData>
<eb:MessageId>488827669053840610</eb:MessageId>
<eb:Timestamp>2019-07-02T18:35:07</eb:Timestamp>
<eb:RefToMessageId>1000</eb:RefToMessageId>
</eb:MessageData>
</eb:MessageHeader>
<wsse:Security
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext">
<wsse:BinarySecurityToken
EncodingType="wsse:Base64Binary"
valueType="String">Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSB!ICESMSLB\/STS.LB!-3000398624414709619!1615713!0</wsse:BinarySecurityToken>
</wsse:Security>
</soap-env:Header>
<soap-env:Body>
<asr:AccountingRS
isQueryStillRunning="false" version="1.2.2"
xmlns:asr="http://www.sabre.com/ns/Ticketing/AsrServices/1.0">
<asr:Header
messageID="TKTHLI700-28439-371069546-1562092505398-787-asrws">
<ns2:OrchestrationID
seq="0" xmlns="http://www.sabre.com/ns/Ticketing/AsrServices/1.0"
xmlns:ns2="http://services.sabre.com/STL/v01"
xmlns:ns3="http://services.sabre.com/STL/Catalog/v01"
xmlns:ns4="http://www.sabre.com/ns/Ticketing/TTL/1.0">TKTHLI700-28439-371069546-1562092505398-787-asrws</ns2:OrchestrationID>
<ns2:Results
xmlns="http://www.sabre.com/ns/Ticketing/AsrServices/1.0"
xmlns:ns2="http://services.sabre.com/STL/v01"
xmlns:ns3="http://services.sabre.com/STL/Catalog/v01"
xmlns:ns4="http://www.sabre.com/ns/Ticketing/TTL/1.0">
<ns2:Success>
<ns2:System>T2-ASR</ns2:System>
</ns2:Success>
</ns2:Results>
</asr:Header>
<AccountingHeader
xmlns="http://www.sabre.com/ns/Ticketing/AsrServices/1.0"
xmlns:ns2="http://services.sabre.com/STL/v01"
xmlns:ns3="http://services.sabre.com/STL/Catalog/v01"
xmlns:ns4="http://www.sabre.com/ns/Ticketing/TTL/1.0">
<IssuingAgentEprCity>RKT</IssuingAgentEprCity>
<IssuingAgentDieSine>WBT</IssuingAgentDieSine>
<IssueAgentEmpNum>902606</IssueAgentEmpNum>
<IssueCity>RKT</IssueCity>
<IssueStation>86493503</IssueStation>
<ReportOpenedDate>2019-07-02</ReportOpenedDate>
<IsReportAutoClosed>false</IsReportAutoClosed>
</AccountingHeader>
<TotalsByCurrency
xmlns="http://www.sabre.com/ns/Ticketing/AsrServices/1.0"
xmlns:ns2="http://services.sabre.com/STL/v01"
xmlns:ns3="http://services.sabre.com/STL/Catalog/v01"
xmlns:ns4="http://www.sabre.com/ns/Ticketing/TTL/1.0">
<CurrencyCode>AED</CurrencyCode>
<TotalAmount
amountText="25142"
decimalPlace="0">25142</TotalAmount>
<ExchangeAmount
amountText="0"
decimalPlace="0">0</ExchangeAmount>
<PrepaidAmount
amountText="0"
decimalPlace="0">0</PrepaidAmount>
<CommissionAmount
amountText="0"
decimalPlace="0">0</CommissionAmount>
<IgnoredResidualAmount
amountText="0"
decimalPlace="0">0</IgnoredResidualAmount>
<FopLine>
<FopCode>CA</FopCode>
<TotalAmount
amountText="25142"
decimalPlace="0">25142</TotalAmount>
</FopLine>
</TotalsByCurrency>
<TotalsByCurrency
xmlns="http://www.sabre.com/ns/Ticketing/AsrServices/1.0"
xmlns:ns2="http://services.sabre.com/STL/v01"
xmlns:ns3="http://services.sabre.com/STL/Catalog/v01"
xmlns:ns4="http://www.sabre.com/ns/Ticketing/TTL/1.0">
<CurrencyCode>AED</CurrencyCode>
<TotalAmount
amountText="3429"
decimalPlace="0">3429</TotalAmount>
<ExchangeAmount
amountText="0"
decimalPlace="0">0</ExchangeAmount>
<PrepaidAmount
amountText="0"
decimalPlace="0">0</PrepaidAmount>
<CommissionAmount
amountText="0"
decimalPlace="0">0</CommissionAmount>
<IgnoredResidualAmount
amountText="0"
decimalPlace="0">0</IgnoredResidualAmount>
<FopLine>
<FopCode>CC</FopCode>
<CreditCardVendor>VI</CreditCardVendor>
<TotalAmount
amountText="3429" decimalPlace="0">3429</TotalAmount>
</FopLine>
</TotalsByCurrency>
</asr:AccountingRS>
</soap-env:Body>
</soap-env:Envelope>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header>
<eb:MessageHeader
eb:version="1.0" soap-env:mustUnderstand="1"
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader">
<eb:From>
<eb:PartyId
eb:type="URI">123123</eb:PartyId>
</eb:From>
<eb:To>
<eb:PartyId
eb:type="URI">999999</eb:PartyId>
</eb:To>
<eb:CPAId>IPCC</eb:CPAId>
<eb:ConversationId>ABC123</eb:ConversationId>
<eb:Service>TKT_AsrServicesRQ</eb:Service>
<eb:Action>TKT_AsrServicesRS</eb:Action>
<eb:MessageData>
<eb:MessageId>488827669053840610</eb:MessageId>
<eb:Timestamp>2019-07-02T18:35:07</eb:Timestamp>
<eb:RefToMessageId>1000</eb:RefToMessageId>
</eb:MessageData>
</eb:MessageHeader>
<wsse:Security
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext">
<wsse:BinarySecurityToken
EncodingType="wsse:Base64Binary"
valueType="String">Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSB!ICESMSLB\/STS.LB!-3000398624414709619!1615713!0</wsse:BinarySecurityToken>
</wsse:Security>
</soap-env:Header>
<soap-env:Body>
<asr:AccountingRS
isQueryStillRunning="false" version="1.2.2"
xmlns:asr="http://www.sabre.com/ns/Ticketing/AsrServices/1.0">
<asr:Header
messageID="TKTHLI700-28439-371069546-1562092505398-787-asrws">
<ns2:OrchestrationID
seq="0" xmlns="http://www.sabre.com/ns/Ticketing/AsrServices/1.0"
xmlns:ns2="http://services.sabre.com/STL/v01"
xmlns:ns3="http://services.sabre.com/STL/Catalog/v01"
xmlns:ns4="http://www.sabre.com/ns/Ticketing/TTL/1.0">TKTHLI700-28439-371069546-1562092505398-787-asrws</ns2:OrchestrationID>
<ns2:Results
xmlns="http://www.sabre.com/ns/Ticketing/AsrServices/1.0"
xmlns:ns2="http://services.sabre.com/STL/v01"
xmlns:ns3="http://services.sabre.com/STL/Catalog/v01"
xmlns:ns4="http://www.sabre.com/ns/Ticketing/TTL/1.0">
<ns2:Success>
<ns2:System>T2-ASR</ns2:System>
</ns2:Success>
</ns2:Results>
</asr:Header>
<AccountingHeader
xmlns="http://www.sabre.com/ns/Ticketing/AsrServices/1.0"
xmlns:ns2="http://services.sabre.com/STL/v01"
xmlns:ns3="http://services.sabre.com/STL/Catalog/v01"
xmlns:ns4="http://www.sabre.com/ns/Ticketing/TTL/1.0">
<IssuingAgentEprCity>RKT</IssuingAgentEprCity>
<IssuingAgentDieSine>WBT</IssuingAgentDieSine>
<IssueAgentEmpNum>902606</IssueAgentEmpNum>
<IssueCity>RKT</IssueCity>
<IssueStation>86493503</IssueStation>
<ReportOpenedDate>2019-07-02</ReportOpenedDate>
<IsReportAutoClosed>false</IsReportAutoClosed>
</AccountingHeader>
<TotalsByCurrency
xmlns="http://www.sabre.com/ns/Ticketing/AsrServices/1.0"
xmlns:ns2="http://services.sabre.com/STL/v01"
xmlns:ns3="http://services.sabre.com/STL/Catalog/v01"
xmlns:ns4="http://www.sabre.com/ns/Ticketing/TTL/1.0">
<CurrencyCode>AED</CurrencyCode>
<TotalAmount
amountText="25142"
decimalPlace="0">25142</TotalAmount>
<ExchangeAmount
amountText="0"
decimalPlace="0">0</ExchangeAmount>
<PrepaidAmount
amountText="0"
decimalPlace="0">0</PrepaidAmount>
<CommissionAmount
amountText="0"
decimalPlace="0">0</CommissionAmount>
<IgnoredResidualAmount
amountText="0"
decimalPlace="0">0</IgnoredResidualAmount>
<FopLine>
<FopCode>CA</FopCode>
<TotalAmount
amountText="25142"
decimalPlace="0">25142</TotalAmount>
</FopLine>
</TotalsByCurrency>
<TotalsByCurrency
xmlns="http://www.sabre.com/ns/Ticketing/AsrServices/1.0"
xmlns:ns2="http://services.sabre.com/STL/v01"
xmlns:ns3="http://services.sabre.com/STL/Catalog/v01"
xmlns:ns4="http://www.sabre.com/ns/Ticketing/TTL/1.0">
<CurrencyCode>AED</CurrencyCode>
<TotalAmount
amountText="3429"
decimalPlace="0">3429</TotalAmount>
<ExchangeAmount
amountText="0"
decimalPlace="0">0</ExchangeAmount>
<PrepaidAmount
amountText="0"
decimalPlace="0">0</PrepaidAmount>
<CommissionAmount
amountText="0"
decimalPlace="0">0</CommissionAmount>
<IgnoredResidualAmount
amountText="0"
decimalPlace="0">0</IgnoredResidualAmount>
<FopLine>
<FopCode>CC</FopCode>
<CreditCardVendor>VI</CreditCardVendor>
<TotalAmount
amountText="3429" decimalPlace="0">3429</TotalAmount>
</FopLine>
</TotalsByCurrency>
</asr:AccountingRS>
</soap-env:Body>
</soap-env:Envelope>