About REST Style Architecture

The P6 REST API employs web-based technology to handle requests from external client programs. Clients access the API by sending HTTP requests that include standard HTTP methods. Some requests, such as a POST request to the /project 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 API supports the following HTTP request methods:

Method Description Notes
GET Returns objects or values.  
DELETE Deletes objects or values. The API does not support the deletion of codes or UDFs while using the Sync Service. To delete codes or UDFs using the Sync Service, update the value with null or "".
POST Creates objects or values.  
PUT Updates objects or values.  

Upon receiving a request, P6 invokes business and security logic to service the request and provide an appropriate response.