Hi there, 
I am trying to use ptv xserver internet out of excel. For this I created a 60 days trial server. To be honest this is my first project using webservices but I tried to figure it out on my own for some hours. 
I was working with the sample of the free text search for API 2.0 (https://xserver2-dashboard.cloud.ptvgro ... g%7C_____1) 
My token and the connection overall is working but I allways receive the error: 
{ "errorMessage" : "Server threw a WebApplicationException with status 404 and origin message: empty", "exceptionType" : "javax.ws.rs.WebApplicationException" }
the call is made via the url: 
https://xlocate-eu-n-test.cloud.ptvgrou ... burg%22%7D
It would be a great help to me if you could have a look on this and help me to overcome my starting problems. 
Thank you
Daniel Seeger
			
			
									
						
										
						Beginner quetsion for first webservice call
- 
				Daniel Seeger
 - Posts: 1
 - Joined: Thu Feb 28, 2019 5:21 pm
 
- Bernd Welter
 - Site Admin
 - Posts: 2948
 - Joined: Mon Apr 14, 2014 10:28 am
 - Contact:
 
Re: Beginner quetsion for first webservice call
Hello Daniel,
welcome on board of the xServers!
A first very important hint is here: you refer to two different APIs:
The first statement deals with xServer2.
The call is then sent to xServer1.
I'll give you a call to get a quick "hello"
C u,
Bernd
			
			
									
						
							welcome on board of the xServers!
A first very important hint is here: you refer to two different APIs:
The first statement deals with xServer2.
The call is then sent to xServer1.
I'll give you a call to get a quick "hello"
C u,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
			
						Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
- Bernd Welter
 - Site Admin
 - Posts: 2948
 - Joined: Mon Apr 14, 2014 10:28 am
 - Contact:
 
Re: Beginner quetsion for first webservice call
Just some example URLs for the xServer2 REST calls:
			
			
									
						
							- XLocate REST locations
 - XRoute REST route Attention: Experimental !
 
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
			
						Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...