SafetyForm
Resource
Safety
Module
Endpoints | URI | Access Control | Description |
---|---|---|---|
delete | POST /api/SafetyForm/delete |
Admin or Module WRITE | |
save | POST /api/SafetyForm/save |
Admin or Module WRITE | |
save-batch | POST /api/SafetyForm/save-batch |
Admin or Module WRITE | |
get | GET /api/SafetyForm/get |
Allowed with an active employment connection | |
find | GET /api/SafetyForm/find |
Allowed with an active employment connection | |
get-estimated-drive-time | GET /api/SafetyForm/get-estimated-drive-time |
Endpoint level permissions | |
notify-customer-eta | GET /api/SafetyForm/notify-customer-eta |
Endpoint level permissions |
Property | Type | Description |
---|---|---|
id |
number | |
slug |
string | |
category_id |
number | |
job_id |
number | |
template_id |
number | |
expiry |
datetime | |
form_json |
string | |
description |
string | |
created_at |
datetime | |
updated_at |
datetime | |
updated_by |
number |
Setting | |
---|---|
Pagination Limit (when page parameter is set) |
None |
Default Sort Order |
updated_at DESC |
Related Resource | Key | Relationship to SafetyForm | Property |
---|---|---|---|
Job | job_id |
Owns Many | Job |
Service | service_id |
Owns Many | Service |
User | updated_by |
Belongs To | UpdatedBy |
SafetyFormTemplate | template_id |
Belongs To | SafetyFormTemplate |
SafetyFormAcknowledgement | tailboard_id |
Owns Many | SafetyFormAcknowledgement |
SafetyFormCategory | category_id |
Belongs To | SafetyFormCategory |