Hi,
I'm new to xServer Api. I want to get the waypoint from the address.
I found out it, I only have the Luxembourg map (60 day trial).
Can I change that?
Other question is, I've the postalcode format for Luxembourg as L-3274
The api cannot find any waypoint for that postalcode.
What do I have to do?
Kind regards, adriaan
Waypoint from address
Re: Waypoint from address
Hello Adriaan,
If you have registered for an xServer internet test account you should have access to the full Europe map on our test cluster. Which URL are you using when you call xLocate?
About the postal code format:
xLocate 1 is rather strict about the postal codes and want official way of writing witch is without the letter + dash. You have to "clean" the postal codes yourself in your business logic. XLocate 2 is a bit more relaxed on this point. Have a look at https://xserver2-europe-eu-test.cloud.p ... /index.htm and you can try out some of your data.
PS their is a bug in your code when you create the search options. You never copy the param attribute from you earlier defined option. Easier would to be to just use that option:
If you have registered for an xServer internet test account you should have access to the full Europe map on our test cluster. Which URL are you using when you call xLocate?
About the postal code format:
xLocate 1 is rather strict about the postal codes and want official way of writing witch is without the letter + dash. You have to "clean" the postal codes yourself in your business logic. XLocate 2 is a bit more relaxed on this point. Have a look at https://xserver2-europe-eu-test.cloud.p ... /index.htm and you can try out some of your data.
PS their is a bug in your code when you create the search options. You never copy the param attribute from you earlier defined option. Easier would to be to just use that option:
Code: Select all
var sob = new SearchOptionBase[] { so, };
Joost Claessen
Senior Technical Consultant
PTV Benelux
Senior Technical Consultant
PTV Benelux
Re: Waypoint from address
Is there someone who could provide me an C# example to start with API Server 2 and XLocate?
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Waypoint from address
very "basic"...
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...