ServiceFile
Resource
Services
Module
Endpoints | URI | Access Control | Description |
---|---|---|---|
save | POST /api/ServiceFile/save |
Admin or Module WRITE | |
find | GET /api/ServiceFile/find |
Admin or Module READ | |
get | GET /api/ServiceFile/get |
Admin or Module READ | |
delete | POST /api/ServiceFile/delete |
Admin or Module WRITE | |
save-batch | POST /api/ServiceFile/save-batch |
Admin or Module WRITE | |
compileCachedRelations | GET /api/ServiceFile/compileCachedRelations |
Endpoint level permissions | |
getTags | GET /api/ServiceFile/getTags |
Endpoint level permissions | |
userHasWritePerms | GET /api/ServiceFile/userHasWritePerms |
Endpoint level permissions | |
deleteFile | GET /api/ServiceFile/deleteFile |
Endpoint level permissions |
Property | Type | Description |
---|---|---|
id |
number | |
slug |
string | |
is_after |
boolean | |
is_file |
boolean | |
file_id |
number | |
service_id |
number | |
caption |
string | |
notes |
string | |
is_invoice_copy |
boolean | |
created_at |
datetime | |
updated_at |
datetime | |
updated_by |
number |
Setting | |
---|---|
Pagination Limit (when page parameter is set) |
None |
Default Sort Order | By insertion order |
Related Resource | Key | Relationship to ServiceFile | Property |
---|---|---|---|
Service | service_id |
Belongs To | Service |
UploadFile | file_id |
Belongs To | UploadFile |
LibraryUpload | file_id |
Belongs To | LibraryUpload |
JobFileTag | tag_id |
Owns Many | JobFileTag |
FileTag | tag_id |
Owns Many | FileTag |