List a location's corrective actions
The site record's Actions tab: every non-draft corrective action raised at this site.
Rooted at the site rather than at one inspection, because the tab answers "what is still outstanding here", which spans inspections.
Authorization
OrgApiKey AuthorizationBearer <token>
Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.
In: header
Path Parameters
location_id*Location Id
Query Parameters
due?Due
cursor?string|null
limit?Limit
Response Body
application/json
application/json
curl -X GET "https://api.auditmark.io/v1/locations/497f6eca-6276-4993-bfeb-53cbbbba6f08/corrective-actions"{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "finding_title": "string", "inspection_id": "c9b5b83c-f311-4a73-99d1-5e571dd2460c", "inspection_label": "string", "inspection_date": "string", "assignee_name": "string", "priority": "string", "status": "string", "due_date": "string", "overdue": false } ], "next_cursor": "string"}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}