Auditmark

Save answers

PUT
/inspections/{inspection_id}/responses

Authorization

OrgApiKey
AuthorizationBearer <token>

Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.

In: header

Path Parameters

inspection_id*Inspection Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://api.auditmark.io/v1/inspections/497f6eca-6276-4993-bfeb-53cbbbba6f08/responses" \  -H "Content-Type: application/json" \  -d '{    "section_id": "f5e5c4dc-7d2e-40f1-a895-9bb2f8703fd8",    "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "field_id": "e68e30b1-d177-4632-b748-463bcd0eedc6",  "instance_index": 0,  "instance_path": "string",  "value": null,  "note": "string",  "version": 1}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}