Contact Resource
Contacts Module
| Endpoints | URI | Access Control | Description |
|---|---|---|---|
| save | POST /api/Contact/save |
Admin or Module WRITE | |
| get | GET /api/Contact/get |
Allowed with an active employment connection | |
| find | GET /api/Contact/find |
Admin or Module READ | |
| save-batch | POST /api/Contact/save-batch |
Admin or Module WRITE | |
| delete | POST /api/Contact/delete |
Admin or Module WRITE |
| Property | Type | Description |
|---|---|---|
id |
number | |
slug |
string | |
name |
string | |
is_company |
boolean | |
is_customer |
boolean | |
is_supplier |
boolean | |
company_type |
string | |
position |
string | |
phone |
string | |
email |
string | |
website |
string | |
suite |
string | |
address |
string | |
city |
string | |
province |
string | |
country |
string | |
postal_code |
string | |
lat |
number | |
long |
number | |
geocode_address_hash |
string | |
contact_id |
number | |
user_id |
number | |
settings_json |
string | |
charge_out_group_overrides_json |
string | |
customer_onhold |
boolean | |
customer_onhold_reason |
string | |
notes |
string | |
message_thread_id |
number | |
qbo_id |
string | |
currency_code |
string | |
link_accepted |
boolean | |
link_denied |
boolean | |
created_at |
datetime | |
updated_at |
datetime | |
updated_by |
number |
| Setting | |
|---|---|
Pagination Limit (when page parameter is set) |
50 per page |
| Default Sort Order |
name ASC |
| Related Resource | Key | Relationship to Contact | Property |
|---|---|---|---|
| Job | customer_id |
Owns Many | Job |
| Service | customer_id |
Owns Many | Service |
| ContactLocation | contact_id |
Owns Many | ContactLocation |
| Contact | contact_id |
Belongs To | Company |
| Contact | contact_id |
Owns Many | SubContacts |
| MessageThread | message_thread_id |
Belongs To | MessageThread |
| User | email |
Belongs To | UserLink |
| Company | name |
Belongs To | CompanyLink |
| CustomerAssetCategory | asset_category_id |
Owns Many | CustomerAssetCategory |
| CustomerAsset | contact_id |
Owns Many | CustomerAsset |
| User | user_id |
Belongs To | UserCustomer |
| ContactFile | contact_id |
Owns Many | ContactFile |