ServiceRequest Resource
In Service Requests Module
Incoming service requests (intake before or alongside a Service work order).
Endpoints
| Endpoints |
URI |
Access Control |
Description |
| save |
POST /api/ServiceRequest/save |
Authentication only |
|
| get |
GET /api/ServiceRequest/get |
Authentication only |
|
| find |
GET /api/ServiceRequest/find |
Authentication only |
|
| delete |
POST /api/ServiceRequest/delete |
Authentication only |
|
| save-batch |
POST /api/ServiceRequest/save-batch |
Admin or Module WRITE |
|
Properties
| Property |
Type |
Description |
id |
number |
|
slug |
string |
|
requester_id |
number |
|
description |
string |
|
address |
string |
|
suite |
string |
|
city |
string |
|
province |
string |
|
country |
string |
|
postal_code |
string |
|
expiry_date |
date |
|
is_quote_request |
string |
|
company_id |
number |
|
is_accepted |
boolean |
|
is_rejected |
boolean |
|
rejection_reason |
string |
|
service_id |
number |
|
created_at |
datetime |
|
updated_at |
datetime |
|
updated_by |
number |
|
Settings
| Setting |
|
Pagination Limit (when page parameter is set) |
None |
| Default Sort Order |
id ASC
|
Relationships
| Related Resource |
Key |
Relationship to ServiceRequest |
Property |
| Company |
company_id |
Belongs To |
Company |
| User |
requester_id |
Belongs To |
Requester |
| Service |
service_id |
Belongs To |
Service |
| UploadFile |
file_id |
Owns Many |
UploadFile |