Answer
No, the PTV Developer API does not support XML or SOAP-based requests. All requests must be made using JSON format, following the RESTful API design. This approach is consistent with modern web standards and enables efficient and scalable integration.
Supported request formats include:
- JSON: Fully supported and preferred.
-
REST: Supported via standard HTTP methods (
GET,POST, etc.). - OpenAPI v3: Available for standardized documentation and easier client generation.
Unsupported:
- SOAP/XML: Not supported.
Additional hints
Set Headers Correctly: Use Content-Type: application/json when sending requests.
Authentication: Ensure proper authentication headers (e.g., API keys) are included as required.
Use API Testing Tools: Use tools like Postman or Swagger UI to test and understand request structures.
Migrate from XML: If your system currently uses XML, consider refactoring your integration layer to support JSON for full compatibility.
Review Endpoint Docs: Not all endpoints behave identically—always check the current API documentation for supported methods and parameters.
Related articles
PTV Developer API Documentation
PTV xServer HTTP Request Guidelines
PTV xServer Request & Response Structure
- ...