What is the best way to view a ticket by ticket number? [closed] - sabre

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
Which API(s) would be the most ideal to use if you'd like to fetch Sabre ticket data by ticket number (not PNR)?

You could use the VCR_DisplayLLSRQ soap/xml web service to obtain ticket and coupon data.
Sample java code for creating a request to lookup a ticket using the ticket number is below...
VCRDisplayRQ vcrDisplayRQ = new VCRDisplayRQ()
.withVersion("2.2.2")
.withSearchOptions(new SearchOptions()
.withTicketing(new Ticketing()
.withETicketNumber(ticketNo)
))
;

Here is the raw XML.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sec="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:mes="http://www.ebxml.org/namespaces/messageHeader" xmlns:ns="http://www.opentravel.org/OTA/2002/11">
<soapenv:Header>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/12/utility">
<wsse:BinarySecurityToken>
{{sessionToken}}
</wsse:BinarySecurityToken>
</wsse:Security>
<mes:MessageHeader>
<mes:From>
<mes:PartyId>YOURNAME</mes:PartyId>
</mes:From>
<mes:To>
<mes:PartyId>SABRE</mes:PartyId>
</mes:To>
<mes:CPAId>1234</mes:CPAId>
<mes:ConversationId>1234</mes:ConversationId>
<mes:Service>eTicketCouponLLSRQ</mes:Service>
<mes:Action>eTicketCouponLLSRQ</mes:Action>
</mes:MessageHeader>
</soapenv:Header>
<soapenv:Body>
<eTicketCouponRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.0.0">
<Ticketing eTicketNumber="0067771112222"/>
</eTicketCouponRQ>
</soapenv:Body>
</soapenv:Envelope>

Related

Adding User Defined Interface Data (UDID) to Sabre PNR

I'm trying to add UDID fields to PNRs using the SOAP API. There is no mention of such functionality anywhere in the docs!
So I tried using the SabreCommandLLSRQ endpoint to attach the UD fields, but I don't seem to be able to make any changes, despite receiving a * response.
I've tried the following command using the endpoint:
5.S*RL[record locator]*UD56 [some test value]
For example:
5.S*RLEPLHYN*UD56 YVRYEG
But that also leads to a * response without the PNR actually changing.
Are you sure that's the right UDID format? I've never seen a record locator prepended to a UDID before. If using the SabreCommandLLSRQ endpoint I would expect your format to look like this:
5.S*UD56 [some test value]
There are many UDID formats so I may be wrong there and I know the responses can be quirky. What response do you get in a PNR if you simply enter your format into Sabre Red?
There is also support for itin remarks in the Add Itinerary Remark (AddRemarkLLSRQ), which may be worth implementing for you as well.
I found it in the API too, it is only mentioned in one of many examples in AddRemarkRQ:
If you want it to show up on the itinerary:
<AddRemarkRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.1.1">
<RemarkInfo>
<Remark Type="Invoice">
<Text>
U45-111794
</Text>
</Remark>
</RemarkInfo>
</AddRemarkRQ>
If you don't want it to show up on the itinerary:
<AddRemarkRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.1.1">
<RemarkInfo>
<Remark Type="Invoice">
<Text>
U*45-111794
</Text>
</Remark>
</RemarkInfo>
</AddRemarkRQ>
I've tested it in both CreatePassengerNameRecordRQ and AddRemarkRQ contexts.

Can't send car loyalty card in request. I'm getting two warnings

I'm trying to send a book request with car loyalty card.
I've added CustLoyalty to PD.PassengerDetailsRQ -> TravelItineraryAddInfoRQ->PD.CustomerInfo -> CustLoyalty with MembershipID=number of card loyalty of user, ProgramID=program code.I do not send NameNumber, SegmentNumber, TravelingCarrierCode.
However I'm getting 2 warnings in response
<soap-env:Body>
<PassengerDetailsRS xmlns="http://services.sabre.com/sp/pd/v3_4">
<ApplicationResults xmlns="http://services.sabre.com/STL_Payload/v02_01" xmlns:ns2="http://services.sabre.com/essm/diagnostic/v1" xmlns:ns3="http://services.sabre.com/essm/core/v1" xmlns:ns4="http://services.sabre.com/STL_Payload/v02_02" xmlns:ns5="http://opentravel.org/common/v02" xmlns:ns6="http://opentravel.org/common/message/v02" xmlns:ns7="http://services.sabre.com/sp/ssp/v1" xmlns:ns8="http://services.sabre.com/STL_Header/v02_02" xmlns:ns9="http://services.sabre.com/STL_Header/v120" xmlns:ns10="http://services.sabre.com/essm/session/v1" xmlns:ns11="http://services.sabre.com/STL_Header/v02_01" xmlns:ns12="http://webservices.sabre.com/servicesplatform/eiapi/1.0.0" xmlns:ns13="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00" xmlns:ns14="http://services.sabre.com/sp/preferences/v1" xmlns:ns15="http://services.sabre.com/STL/v01" xmlns:ns16="http://services.sabre.com/ssse/trace/v01" status="Complete">
<Success timeStamp="2022-10-21T01:43:18.739-05:00"/>
<Warning timeStamp="2022-10-21T01:43:14.930-05:00" type="BusinessLogic">
<SystemSpecificResults>
<Message code="WARN.SWS.HOST.ERROR_IN_RESPONSE">TravelItineraryAddInfoLLSRQ: .UNABLE TO ACCEPT FQTV NUMBERS FOR ZD - CALL DIRECT</Message>
</SystemSpecificResults>
</Warning>
<Warning timeStamp="2022-10-21T01:43:18.738-05:00" type="BusinessLogic">
<SystemSpecificResults>
<Message code="WARN.SP.PROVIDER_WARNING">Missing expected CustLoyalty information</Message>
</SystemSpecificResults>
</Warning>
Could you, please, help me, how to resolve it?
That element in the PassengerDetailsRQ is for airline membership numbers. There is no specific field in a Sabre PNR for a car membership number. The car membership numbers needs to be included in the car sell request.

How to solve key issue of API [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
Hi I try to call some data using API but it shows error message of "invalid key". But In the function I didn't figure out where I can input my key. The code is shown below:
sahie_years <- getCensus(
name = "timeseries/healthins/sahie",
vars = c("NAME", "PCTUI_PT"),
region = "state:01",
time = "from 2006 to 2018")
head(sahie_years)
Can anybody have some ideas?
See documentation here for setting up your API key.
You need to sign up for an API key here.
Once you've done that you can either specify your API key by setting an environment variable using Sys.setenv(CENSUS_KEY="YOUR_CENSUS_KEY_GOES_HERE"), or
just set it directly in your getCensus call by adding the argument key = "YOUR_CENSUS_KEY_GOES_HERE".
For API keys in general, it is often easiest to set them in a .Renviron file, which will make them available in each session using Sys.getenv.

How to pull Deposits from QuickBooksOnline using IntuitAnywhere

I am attempting to pull all the General Ledger entries from QuickBooksOnline into my C# Asp.net application for a given date range. I have been able to successfully pull Bills, Checks, and JournalEntries that match the Profit and Loss Detail report I'm using for reference. However, I seem to be missing all "Deposit" types from that report. I am pulling data for Invoices and Payments but they are coming back empty for the TxnDates I'm looking for.
In case it helps I'm including the Request and Response xml logs for Invoices and Payments.
Invoice Request
Filter=TxnDate :AFTER: 2013-02-28T00:00:00-05:00 :AND: TxnDate :BEFORE: 2013-04-01T00:00:00-04:00&PageNum=1&ResultsPerPage=100
Invoice Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><qbo:SearchResults xmlns="http://www.intuit.com/sb/cdm/v2" xmlns:qbp="http://www.intuit.com/sb/cdm/qbopayroll/v1" xmlns:qbo="http://www.intuit.com/sb/cdm/qbo"><qbo:CdmCollections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Invoices"/><qbo:Count>0</qbo:Count><qbo:CurrentPage>1</qbo:CurrentPage></qbo:SearchResults>
Payment Request
Filter=TxnDate :AFTER: 2013-02-28T00:00:00-05:00 :AND: TxnDate :BEFORE: 2013-04-01T00:00:00-04:00&PageNum=1&ResultsPerPage=100
Payment Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><qbo:SearchResults xmlns="http://www.intuit.com/sb/cdm/v2" xmlns:qbp="http://www.intuit.com/sb/cdm/qbopayroll/v1" xmlns:qbo="http://www.intuit.com/sb/cdm/qbo"><qbo:CdmCollections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Payments"/><qbo:Count>0</qbo:Count><qbo:CurrentPage>1</qbo:CurrentPage></qbo:SearchResults>
Deposits are not the same thing as an invoice or a payment. Deposits are a separate transaction indicating a deposit of a payment, to the bank.
According to Intuit's documentation, querying for deposits is not supported by the v2 APIs.

FR3DLdapBundle configs errors [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm using fr3dLdapBundle with fosUserBundle.
Symfony - version=v2.0.9
fosUserBundle - version=1.2.0
I have done everything as typed in the installation documents. But I catch one error.
ErrorException: Notice: Undefined offset: 0 in ...\vendor\bundles\FR3D\LdapBundle\Ldap\LdapManager.php line 27
Can you give me advice on what to do?
The Ldap field for identify a single entry is not the default value setted or is not the first in the config.
At config.yml
attributes:
- { ldap_attr: uid, user_method: setUsername }
Means uid will be the Ldap Attribute used for identify a user by his username in the login form.
This entry must match with your Ldap Attribute and must be the first in the list after attributes

Resources