Retrieving data from API

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Rashuz

Thread Starter
Joined
May 31, 2017
Messages
1
I am trying to retrieve Hotel and Tour data from https://trial-www.jtbgenesis.com/genesis2-demo/services/GA_TourActivitySearch and display it in my website.

I am calling that URL API from Javascript and Seems it is not working.

Any suggestions or help on retrieving API?
In addition I do have , this Sample SOAP code:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://service.api.genesis2.jtbgmt.com/">
<soapenv:Header/>
<soapenv:Body>
<GA_TourActivitySearchRQ>
<POS>
<Source>
<RequestorID ID="AGTUSER01" UserName="USERNAME" MessagePassword="Agtuser_01">
<CompanyName Code="AGT01"/>
<BasicInfo Version="2013" Language="EN"/>
</RequestorID>
</Source>
</POS>
<AvailRequestSegments>
<AvailRequestSegment>
<TourSearchCriteria>
<Criterion SortType="PRICE" AvailStatus="OKRQ"/>
<StartDayRange Start="2013-04-01" Days="5"/>
<PlanCategory>
<Category>ON</Category>
</PlanCategory>
<TourRef StartCityCode="TYO" DestinationCityCode="M04" LanguageSpoken="EN" TourCategory="THT"/>
</TourSearchCriteria>
</AvailRequestSegment>
</AvailRequestSegments>
</GA_TourActivitySearchRQ>
</soapenv:Body>
</soapenv:Envelope>

which I can not display on my website.

Thanks
 

JiminSA

Jim
Joined
Dec 15, 2011
Messages
3,398
Investigating the first url, you supplied (https://trial-www.jtbgenesis.com/genesis2-demo/services/GA_TourActivitySearch), I cut it down, stage by stage and discovered, a user login requirement, here:- https://trial-www.jtbgenesis.com/genesis2-demo/
Perhaps, you might get back to the jtbgenesis people and query this? (i.e. will the original link work, without a login?). In any event, it will be worthwhile talking to them, for a resolution to this problem, as it seems to me that it is within the API;)
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Top