Create schedule
Authorization
OrgApiKey AuthorizationBearer <token>
Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.
In: header
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/inspection-schedules" \ -H "Content-Type: application/json" \ -d '{ "client_account_id": "219adf14-412b-4051-82f8-967a3418e740", "template_family_id": "290e2e3d-b358-4141-b04d-2f3e9b65d632", "rrule": "string", "dtstart": "2019-08-24T14:15:22Z" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "client_account_id": "219adf14-412b-4051-82f8-967a3418e740", "template_family_id": "290e2e3d-b358-4141-b04d-2f3e9b65d632", "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795", "title": "string", "rrule": "string", "timezone": "string", "dtstart": "2019-08-24T14:15:22Z", "next_run_at": "2019-08-24T14:15:22Z", "is_active": true, "default_participant_ids": [ "a1336d0f-4be6-4e1e-92c5-0270be9a7ba1" ], "default_approver_id": "cc471dc5-d405-47b0-9f29-896e9b216459", "due_offset_days": 0}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}