Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnabeDomain/Service: uAPI/FlightInformationReq not authorized for user: Universal API #257

Open
arvind-gemstack opened this issue May 11, 2021 · 1 comment

Comments

@arvind-gemstack
Copy link

Hello,
We are getting error after getting pre- production api credentials. I want to details of the particular flight.
"Domain/Service: uAPI/FlightInformationReq not authorized for user: Universal API/uAPI1750790704-327b5ca9"

Request -> https://apac.universal-api.pp.travelport.com/B2BGateway/connect/uAPI/FlightInformationReq

request body

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
soap:Body
<air:FlightDetailsReq TargetBranch="P7004166" xmlns:air="http://www.travelport.com/schema/air_v50_0" xmlns:com="http://www.travelport.com/schema/common_v50_0">
<com:BillingPointOfSaleInfo OriginApplication="UAPI"/>
<air:AirSegment Key="GcF/Wl/pWDKAG+hQAAAAAA==" Group="0" Carrier="UA" FlightNumber="1715" Origin="DEL" Destination="GOP" DepartureTime="2021-05-13T11:30:00.000+05:30" ArrivalTime="2021-05-13T13:30:00.000+05:30" FlightTime="120" TravelTime="210" Distance="409" Equipment="ATR" xmlns:air="http://www.travelport.com/schema/air_v50_0" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"/>
</air:FlightDetailsReq>
</soap:Body>
</soap:Envelope>

Response Body

<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:Body
SOAP-ENV:Fault
SOAP-ENV:faultcode401</SOAP-ENV:faultcode>
SOAP-ENV:faultstringDomain/Service: uAPI/FlightInformationReq not authorized for user: Universal API/uAPI1750790704-327b5ca9</SOAP-ENV:faultstring>
SOAP-ENV:faultactor </SOAP-ENV:faultactor>
SOAP-ENV:detailDomain/Service: uAPI/FlightInformationReq not authorized for user: Universal API/uAPI1750790704-327b5ca9</SOAP-ENV:detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

@RicOsiro
Copy link

RicOsiro commented Jun 9, 2021

Hi,

I'm not sure if you info as Request is the endpoint of you soap request, but it it is, there is a mistake, the right endpoint is ending with "FlightService" not "FlightInformationReq" that is the name of main element on the request.

Please, check the endpoint.
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants