Retrieves all the company contact
Request Information
URI Parameters :
None.
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult
contactName | Description | Type | Additional information |
---|---|---|---|
id |
Primary key |
globally unique identifier |
Required |
firstname |
Firstname of the contact |
string |
Max length: 50 |
lastname |
Lastname of the contact. If you have one single field available for firstname+lastname then use Lastname |
string |
Required Max length: 50 |
company_id |
Company of the contact |
globally unique identifier |
Optionally required : company_id,company_code or company must be provided |
company_code |
Embedded entity "company" using ERP PK when adding/updating contact |
string |
Optionally required : company_id,company_code or company must be provided |
company |
Embedded entity "company" when adding/updating contact |
company |
Optionally required : company_id,company_code or company must be provided |
db_language_id |
Language of the contact.If empty, will use the default on the system |
globally unique identifier | |
db_language_code |
Language code entity using international isocode when adding/updating contact |
string | |
db_title_id |
The title of the contact |
globally unique identifier | |
archived |
Archive this contact to not have it anymore on the search |
boolean | |
functions |
Function of the contact (ServiceManager,...) |
string |
Max length: 64 |
e_login |
Login of the contact (if have access to ServiceDesk) |
string |
Max length: 50 |
e_password |
Password in clear text of the contact (if have access to ServiceDesk) |
string |
Max length: 50 |
notes |
Notes/Remark field |
string | |
birthdate |
Birthday date |
date | |
create_date |
Creation date+time |
date | |
phone |
Phone number of the contact |
string |
Max length: 50 |
mobile |
a number of the contact |
string |
Max length: 50 |
|
string |
Max length: 250 |
|
skype |
skype |
string |
Max length: 250 |
private_phone |
Private phone number of the contact |
string |
Max length: 50 |
private_mobile |
Private mobile number of the contact |
string |
Max length: 50 |
private_email |
Private email |
string |
Max length: 250 |
reference_back_office |
Field used for Embedded entity (store there your ERP PK) |
string |
Max length: 50 |
modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Response Formats
application/json, text/json
{ "id": "54e10aa7-ddd3-4a48-9db2-dd643f70acf5", "firstname": "sample string 2", "lastname": "sample string 3", "company_id": "dc06b81a-54f8-438f-bb3d-120d96932e60", "company_code": "sample string 5", "company": { "id": "bbdf4367-bda0-4069-9528-b0f74dc19809", "is_client": true, "is_supplier": true, "archived": true, "name": "sample string 5", "notes": "sample string 6", "create_date": "2024-05-07T05:57:33.5274844+00:00", "sales_territory_id": "39598c13-7305-455b-8b9d-08856cac6e35", "sales_territory_code": "sample string 9", "sales_territory": { "id": "36bd18bf-6ae7-4723-95f6-9603a18ff91d", "code": "sample string 2", "description": "sample string 3", "sales_organization_id": "6cda79e0-bd38-495a-8030-4973d2a1f1f5", "sales_organization_code": "sample string 5", "sales_organization": { "id": "96f7a0fc-b015-4b48-a953-6e39053ba724", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "49fa0ad9-f176-49f2-a77f-32d349fb385f", "db_currency_id": "9f286fb6-3665-453c-a428-2edca440b144", "db_language_id": "b2fd6429-4419-4948-b6dd-bfec6a7a0ecd", "accountancy_code": "sample string 8", "archived": true, "default_unit_of_measure_system_type": "sample string 10", "street": "sample string 11", "street2": "sample string 12", "street_number": "sample string 13", "zip": "sample string 14", "city": "sample string 15", "email": "sample string 16", "phone": "sample string 17", "fax": "sample string 18", "url": "sample string 19", "vat_reg_code": "sample string 20", "modified_dateutc": "2024-05-07T05:57:33.5274844+00:00" }, "modified_dateutc": "2024-05-07T05:57:33.5274844+00:00" }, "marketing_segment_id": "7b9260bd-0805-4b1c-a0f3-f5fa914423d4", "marketing_segment_code": "sample string 11", "sales_organization_id": "f2d91b91-5c3b-4bc2-afd7-1e69887c7416", "sales_organization_code": "sample string 13", "company_sales_status_code": "sample string 14", "vat_reg_code": "sample string 15", "is_working_address": true, "parent_id": "5a6017aa-74cc-46a2-aec9-741b4f036567", "parent_company_code": "sample string 18", "phone": "sample string 19", "fax": "sample string 20", "url": "sample string 21", "email": "sample string 22", "street": "sample string 23", "street_number": "sample string 24", "city": "sample string 25", "zip": "sample string 26", "db_country_id": "3bf27d35-f92b-4df6-ac1f-85e4af51bd1d", "db_country_code": "sample string 28", "feelist_id": "5f7eed98-ab5b-4a21-98c6-22774fb236ed", "feelist_reference_back_office": "sample string 30", "feelist": { "id": "5eb78409-a074-4df1-9085-000e43f927d4", "name": "sample string 2", "description": "sample string 3", "is_default": true, "default_price": 1.0, "sales_organization_id": "13ee2546-19bc-4a20-bf92-f624c8033e1d", "sales_organization_code": "sample string 6", "reference_back_office": "sample string 7", "modified_dateutc": "2024-05-07T05:57:33.5274844+00:00", "db_currency_id": "3f76ea19-9d9e-438d-8b25-f80af8389208", "db_currency_code": "sample string 10" }, "company_type_id": "f1c4759c-c821-4a1f-8c12-a7610e46c422", "company_type_name": "sample string 32", "company_type": { "id": "0ab21872-b8e3-45cb-a421-38a50cb68ab8", "name": "sample string 2", "description": "sample string 3", "sales_organization_id": "1b8d21bf-5439-4bc6-a283-b26372c0161f", "sales_organization_code": "sample string 5" }, "db_language_id": "8b5476c3-0e85-42e7-8582-8916f5ce952f", "db_language_code": "sample string 34", "code": "sample string 35", "article_price_label_id": "f04b35cc-090c-4492-a145-4314a746eac0", "article_price_label_code": "sample string 37", "db_payment_method_id": "c1866747-3e60-4257-aeeb-89af2f5b569c", "db_payment_method_reference_back_office": "sample string 39", "db_payment_methods": { "id": "f4e870b9-f728-4f7d-a2cd-e41ba8b91a9c", "name": "sample string 2", "description": "sample string 3", "reference_back_office": "sample string 4", "activated": true, "modified_dateutc": "2024-05-07T05:57:33.5274844+00:00" }, "company_sector_id": "cb6bdc77-67bd-4d0a-af77-a2fc57742e0d", "company_sector_code": "sample string 41", "is_lead": true, "is_subcontractor": true, "latitude": 1.0, "longitude": 1.0, "street2": "sample string 44", "bic_code": "sample string 45", "specialities": "sample string 46", "register_number": "sample string 47", "register_city": "sample string 48", "bankaccount": "sample string 49", "mobile": "sample string 50", "service_manager_user_id": "30e9c0ed-5645-4a3f-ba7c-fb9748298b42", "service_manager_user_code": "sample string 52", "finance_manager_user_id": "9d1d93b1-85dc-494a-be1f-670e9eb52be8", "finance_manager_user_code": "sample string 54", "account_manager_user_id": "8c03cb33-912a-40ee-86f7-7292786f5eed", "account_manager_user_code": "sample string 56", "company_status_id": "e481f324-0665-4814-a23f-2c7f37441ef2", "invoice_email_to": "sample string 58", "modified_dateutc": "2024-05-07T05:57:33.5274844+00:00", "id2": 60 }, "db_language_id": "131025b8-080d-437d-98e3-559534fb645d", "db_language_code": "sample string 7", "db_title_id": "53a39d9f-af6f-48e0-acf7-b19d4aa7ac70", "archived": true, "functions": "sample string 10", "e_login": "sample string 11", "e_password": "sample string 12", "notes": "sample string 13", "birthdate": "2024-05-07T05:57:33.5274844+00:00", "create_date": "2024-05-07T05:57:33.5274844+00:00", "phone": "sample string 16", "mobile": "sample string 17", "email": "sample string 18", "skype": "sample string 19", "private_phone": "sample string 20", "private_mobile": "sample string 21", "private_email": "sample string 22", "reference_back_office": "sample string 23", "modified_dateutc": "2024-05-07T05:57:33.5274844+00:00" }