REST Style Architecture
The Primavera Data Service employs web-based technology to handle requests from external client programs. Clients access the data service by sending HTTP requests that include standard HTTP methods. Some requests, such as a POST request to the /runquery endpoint, require additional request data in JSON format. When you provide additional data with a request, you must specify a content-type in the request header. For example, a request that includes JSON data must include a content-type of application/json in its request header.
The data service supports the following HTTP request methods:
Method | Description |
GET | Returns supported database tables and columns. |
POST | Run queries against database tables. |
Upon receiving a request, the data service invokes business and security logic to service the request and provide an appropriate response.