ServiceFile Resource
In Services Module
Files attached to a service.
Endpoints
| 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 |
|
Properties
| 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 |
|
source_resource |
string |
|
source_record_slug |
string |
|
created_at |
datetime |
|
updated_at |
datetime |
|
updated_by |
number |
|
Settings
| Setting |
|
Pagination Limit (when page parameter is set) |
None |
| Default Sort Order |
created_at DESC
|
Relationships
| 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 |