List the records for the specified project
/projects/{projectId}/records
The project ID
curl -L \ --url 'https://api.ecosuite.io//projects/{projectId}/records' \ --header 'Authorization: YOUR_API_KEY'
{ "records": [ null, null ] }
Create a new project record with a server generated ID
curl -L \ --request POST \ --url 'https://api.ecosuite.io//projects/{projectId}/records' \ --header 'Authorization: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{"name":"text","verified":false,"isContract":"yes","recordType":"financial","hiddenFields":[null],"contacts":[{"name":"text","type":"text"}],"notes":[{"note":"text","comments":[{"comment":"text"}]}]}'
{ "record": { "name": "text", "verified": false, "isContract": "yes", "recordType": "financial", "hiddenFields": [ "text" ], "contacts": [ { "name": "text", "type": "text" } ], "notes": [ { "note": "text", "comments": [ { "comment": "text" } ] } ] } }
Update an existing project record
/projects/{projectId}/records/{recordId}
The record ID
curl -L \ --request PUT \ --url 'https://api.ecosuite.io//projects/{projectId}/records/{recordId}' \ --header 'Authorization: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{"name":"text","verified":false,"isContract":"yes","recordType":"financial","hiddenFields":[null],"contacts":[{"name":"text","type":"text"}],"notes":[{"note":"text","comments":[{"comment":"text"}]}]}'