ContactLocation Resource
In Contacts Module
Locations/addresses belonging to a Contact (customer or supplier sites).
Endpoints
| Endpoints |
URI |
Access Control |
Description |
| get |
GET /api/ContactLocation/get |
Allowed with an active employment connection |
|
| find |
GET /api/ContactLocation/find |
Admin or Module READ |
|
| save |
POST /api/ContactLocation/save |
Admin or Module WRITE |
|
| save-batch |
POST /api/ContactLocation/save-batch |
Admin or Module WRITE |
|
| delete |
POST /api/ContactLocation/delete |
Admin or Module WRITE |
|
Properties
| Property |
Type |
Description |
id |
number |
|
slug |
string |
|
contact_id |
number |
|
user_id |
number |
|
location_name |
string |
|
phone |
string |
|
email |
string |
|
suite |
string |
|
address |
string |
|
city |
string |
|
province |
string |
|
country |
string |
|
postal_code |
string |
|
lat |
number |
|
long |
number |
|
geocode_address_hash |
string |
|
parts_used_json |
string |
|
notes |
string |
|
Settings
| Setting |
|
Pagination Limit (when page parameter is set) |
None |
| Default Sort Order |
By insertion order
|
Relationships
| Related Resource |
Key |
Relationship to ContactLocation |
Property |
| Contact |
contact_id |
Belongs To |
Contact |