What is it?
This method is used to retrieve a billing report for the previous or current month.
Why use it?
Use this method to get a billing report for previous or current month.
How it works
-
Send a request to the Rail vendor system to get a monthly billing report for a user who has currently logged in. Note: The request can be sent at any time to get the most current monthly billing report.
-
All report details are returned in a structured format, including the following information:
- Report criteria with
reportType
andfromDate
andtoDate
- Sales statistics with
agencyAccountNumber
andchannelBalances
channelBalances
contains information aboutchannel
andbalances
balances
contains billing statistics for specific operation type
- Report criteria with
Caution: Consuming this API and its content requires special permission. Before requesting access, make sure you have all the necessary agreements in place with the rail vendor(s) you would like to sell using Content Services for Rail. For more information on accessing Sabre Rail content and rail supplier contacts, visit the respective product page on Sabre Central.
How to use
Method
GET /v2/rail/reports/billings/{marketingCarrierCode}/months/{monthType}
Request
-
Provide a valid marketing carrier code to make a successful request.
-
For
months
, select the correctreportsBillingParam
:current
previous
Response
Returns billing report information for the requested previous or current month.
Ticket Status
Upon success, the ticketStatus
object is returned with any of the following values:
- ANNULLED
- RES
- TKT
- CNX (Cancelled)
- RFD (Refunded)
- DEFERRED
- EXCHANGED
- OTH (Other)