Easy Projects Logo

Easy Projects

application programming interface

Portfolios

Making requests

The ‘Content-Type’ header must be set to ‘application/xml’ or ‘application/json’ to identify the request and response format. The default is ‘application/xml’. All requests must include a basic authorization header.

Get portfolios
URL: rest/v1/portfolios
HTTP method: GET
Returns all available portfolios

Get portfolio
URL: rest/v1/portfolios/{ID}
HTTP method: GET
Returns portfolio

Create portfolio
URL: rest/v1/portfolios/{ID}
HTTP method: POST
Request body contains a portfolio
Returns status code 201 (Created) on success

Update portfolio
URL: rest/v1/portfolios/{ID}
HTTP method: PUT
Request body contains a user
Response with “200 OK” on success

Delete portfolio
URL: rest/v1/portfolios/{ID}
HTTP method: DELETE
Response with “200 OK” on success

Get portfolio members
URL: rest/v1/portfolios/{ID}/members
HTTP method: GET
Return portfolio members

Get portfolio projects
URL: rest/v1/portfolios/{ID}/projects
HTTP method: GET
Return portfolio projects