Auditmark

Generate a report

POST
/inspections/{inspection_id}/reports

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 POST "https://api.auditmark.io/v1/inspections/497f6eca-6276-4993-bfeb-53cbbbba6f08/reports" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "inspection_id": "c9b5b83c-f311-4a73-99d1-5e571dd2460c",  "status": "string",  "layout": "string",  "storage_path": "string",  "error": "string",  "generated_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "signed_url": "string"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}