Gets the details for the specified Portfolio
The Portfolio ID
GET //portfolios/{portfolioId} HTTP/1.1 Host: api.ecosuite.io Authorization: YOUR_API_KEY Accept: */*
successful operation
{ "portfolio": { "name": "text", "projects": [ "text" ], "reports": { "operating": true } } }
Deletes an existing Portfolio
DELETE //portfolios/{portfolioId} HTTP/1.1 Host: api.ecosuite.io Authorization: YOUR_API_KEY Accept: */*
{}
List the available portfolios
GET //portfolios HTTP/1.1 Host: api.ecosuite.io Authorization: YOUR_API_KEY Accept: */*
{ "portfolios": [ null, null ] }
Create a new Portfolio and generate a unique ID
Refer to the /schemas/portfolio endpoint for the full JSON Schema definition
POST //portfolios HTTP/1.1 Host: api.ecosuite.io Authorization: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 64 { "name": "text", "projects": [ "text" ], "reports": { "operating": true } }
Update an existing Portfolio
PUT //portfolios/{portfolioId} HTTP/1.1 Host: api.ecosuite.io Authorization: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 64 { "name": "text", "projects": [ "text" ], "reports": { "operating": true } }