API Reference
Update an existing datapoint. An event can be associated with multiple datapoints.
cURL
curl --request PATCH \ --url https://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{data_point_id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "data_point": { "slug": "total-ash-delivered-wet-us-ton", "value": 291.1 } } '
{ "id": "in_kiIuaGIUqRxWUmTY", "slug": "total-ash-delivered-wet-us-ton", "data_point_type": "Total Ash Delivered (wet mass) U.S. ton", "value": 291.1, "unit": "U.S. ton", "status": "complete" }
Unique ID of event in the evt_XXXX syntax. For example: evt_DLnYvzbjSujNAvXE
evt_XXXX
evt_DLnYvzbjSujNAvXE
Unique ID of datapoint in the in_XXXX syntax. For example: in_kiIuaGIUqRxWUmTY
in_XXXX
in_kiIuaGIUqRxWUmTY
Show child attributes
200
"in_kiIuaGIUqRxWUmTY"
"total-ash-delivered-wet-us-ton"
"Total Ash Delivered (wet mass) U.S. ton"
291.1
"U.S. ton"
"complete"