Travelport-Ukraine / uapi-json

Best Travelport Universal API wrapper ever :airplane: :mountain_railway: :hotel:
https://travelport-ukraine.github.io/uapi-json/
MIT License
74 stars 61 forks source link

Air Shop Error #615

Closed MohammaedAlani closed 1 year ago

MohammaedAlani commented 1 year ago

When I try to search using shop() getting an error, but when using availability() it is working fine. I will share with you the full request and response from the log.

Input:

{ "legs": [ { "from": "DXB", "to": "BGW", "departureDate": "2023-02-18" } ], "passengers": { "ADT": 1 }, "cabins": [ "Economy" ], "requestId": "4e2sa1f8-5431-4b6c-bb6e-cf05c367as43", "maxSolutions": 250, "pricing": { "currency": "USD" } }

Request URL: https://emea.universal-api.pp.travelport.com/B2BGateway/connect/uAPI/AirService

Request:

`<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

` Response: ` Server.Business UNABLE TO FARE QUOTE 3037 AIRSVC Business No availability on chosen flights. A797C1BA0A0D6A93491055506FC1E29A 4e2sa1f8-5431-4b6c-bb6e-cf05c367as43 `
kommandant-topp commented 1 year ago

Hello @MohammaedAlani, I've checked from my side and the result is ok: no errors and a list of the flight details. The only difference is the target branch. Could it be your access creds?

Thank you, and have a nice day!

MohammaedAlani commented 1 year ago

Hello @kommandant-topp,

But in the same target branch for another function (availability) get results for the same info. like from, to , date and the target branch.

Thank You for your fast response.

kommandant-topp commented 1 year ago

Hello @MohammaedAlani, I can create a ticket for your problem at the Travelport support desk. I need your username and PCC to create a ticket (and I assume that your targetBranch is P7002726)

Thank you, and have a nice day!

MohammaedAlani commented 1 year ago

Hello @kommandant-topp,

Thank you for your support.

Username is => Universal API/uAPI1189214086-2752a905 TargetBranch => P7002726 Region => emea

For The PCC it is just a credential for testing and will be expired within 30 Days.

MohammaedAlani commented 1 year ago

Hello @kommandant-topp,

I will close this ticket but for more information to happy data test must use this link below for all regions.

https://support.travelport.com/webhelp/uapi/uAPI.htm#Getting_Started/Testing_Best_Practices/Testing_Best_Practices.htm

Thank you for your support.