ContactFile Resource
In Contacts Module
Files attached to a Contact record.
Endpoints
| Endpoints |
URI |
Access Control |
Description |
| delete |
POST /api/ContactFile/delete |
Admin or Module WRITE |
|
| find |
GET /api/ContactFile/find |
Admin or Module READ |
|
| get |
GET /api/ContactFile/get |
Admin or Module READ |
|
| save |
POST /api/ContactFile/save |
Admin or Module WRITE |
|
| save-batch |
POST /api/ContactFile/save-batch |
Admin or Module WRITE |
|
Properties
| Property |
Type |
Description |
id |
number |
|
slug |
string |
|
file_id |
number |
|
contact_id |
number |
|
caption |
string |
|
notes |
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 ContactFile |
Property |
| Contact |
contact_id |
Belongs To |
Contact |
| UploadFile |
file_id |
Belongs To |
UploadFile |
| FileTag |
tag_id |
Owns Many |
FileTag |