UserAsset Resource
In Customer Assets Module
Customer assets scoped to the current technician/user context (same customer_assets data as
CustomerAsset, readable by technicians assigned to related work).
Endpoints
| Endpoints |
URI |
Access Control |
Description |
| get |
GET /api/UserAsset/get |
Authentication only |
Constrain to companies that have had a link accepted by this user, or locations belonging to the user himself |
| find |
GET /api/UserAsset/find |
Authentication only |
|
| save |
POST /api/UserAsset/save |
Authentication only |
|
| save-batch |
POST /api/UserAsset/save-batch |
Admin or Module WRITE |
|
| delete |
POST /api/UserAsset/delete |
Authentication only |
|
Properties
| Property |
Type |
Description |
id |
number |
|
slug |
string |
|
contact_id |
number |
|
user_id |
number |
|
location_id |
number |
|
template_id |
number |
|
category_id |
number |
|
description |
string |
|
serial_num |
string |
|
date_acquired |
date |
|
notes |
string |
|
next_service_date |
date |
|
next_service_description |
string |
|
next_service_mileage_or_time |
number |
|
last_service_date |
date |
|
last_service_description |
string |
|
last_service_mileage_or_time |
number |
|
parts_json |
string |
|
custom_fields_json |
string |
|
location_type |
string |
|
address |
string |
|
suite |
string |
|
city |
string |
|
province |
string |
|
country |
string |
|
postal_code |
string |
|
lat |
number |
|
long |
number |
|
asset_id |
number |
|
created_at |
datetime |
|
updated_at |
datetime |
|
updated_by |
number |
|
Settings
| Setting |
|
Pagination Limit (when page parameter is set) |
50 per page |
| Default Sort Order |
By insertion order
|
Relationships