Supported protocols per API
Posted: Mon Nov 27, 2023 4:01 pm
Partner asks:
Here's an overview of supported API protocols:Can we send request to Dev API as xml format?
API | OpenAPI | JSON | SOAP / XML | Rest |
---|---|---|---|---|
PTV Developer | yes, v3 | yes | no | yes |
PTV xServer 2 | yes, v2 | yes | yes | partially (lower feature coverage) |
PTV xServer 1 | no | yes | yes | no |
- partially : some methods of PTV xServer 2 are available through REST calls but these methods lack coverage of certain parameters, e.g.
- com.ptvgroup.xserver.xroute.XRoute2.calculateRoute(REST) : does not support more than 2 waypoints or vehicle profile parameters
- com.ptvgroup.xserver.xlocate.XLocate.searchLocations(REST) : does not support search options, does not support multifield search