Search found 7 matches

by stefan.rotaru
Tue Mar 23, 2021 12:05 pm
Forum: PTV xLocateServer
Topic: Search location param for region Europe
Replies: 6
Views: 6889

Re: Search location param for region Europe

Ok, I will use it on my own risk :)) thanks!
by stefan.rotaru
Tue Mar 23, 2021 11:08 am
Forum: PTV xLocateServer
Topic: Search location param for region Europe
Replies: 6
Views: 6889

Re: Search location param for region Europe

Ok, can you please post/send a list of european country codes that can be used as filter in the request?
Thank you!
by stefan.rotaru
Tue Mar 23, 2021 10:49 am
Forum: PTV xLocateServer
Topic: Search location param for region Europe
Replies: 6
Views: 6889

Search location param for region Europe

Hi,

Is there a way to filter (get) the results for SeachLocations (by text) only for places in Europe?
(Other than writing in the request all the allowed country codes in the field allowedCountries)

Thank you!
by stefan.rotaru
Mon Mar 15, 2021 5:49 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: c# example res/json web API ?
Replies: 14
Views: 23807

Re: c# example res/json web API ?

Works with --legacy parameter, thanks.
by stefan.rotaru
Mon Mar 15, 2021 4:35 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: c# example res/json web API ?
Replies: 14
Views: 23807

Re: c# example res/json web API ?

Hello Oliver,

Thank you for the response.
Can you please give me the link where I can find the generated code for the services in xServer 2.19?

Thank you.
by stefan.rotaru
Sat Mar 13, 2021 3:54 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: c# example res/json web API ?
Replies: 14
Views: 23807

Re: c# example res/json web API ?

Hello, In the link that you gave me, there is this sentence: If you like to use the JSON API, there is also the possibility to generate clients from OpenAPI Documents. Generating client (from VS or command prompt) with this command: autorest --input-file=https://xserver2-europe-eu-test.cloud.ptvgrou...
by stefan.rotaru
Sat Mar 13, 2021 2:51 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: c# example res/json web API ?
Replies: 14
Views: 23807

Re: c# example res/json web API ?

Hi, I have tried to autorest the https://xserver2-europe-eu-test.cloud.ptvgroup.com/services/openapi/swagger.json but it gives me an error System.InvalidOperationException: Sequence contains more than one matching element Can you please tell me if it works on your side or maybe attach the generated ...