Retrieves all the company contact
Request Information
URI Parameters :
None.
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult
contact| Name | 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": "5b24de22-ab96-438f-8948-9a0360222a4a",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "79443cc9-6bea-485e-b36a-56012b3b72eb",
"company_code": "sample string 5",
"company": {
"id": "b97e693c-9791-4359-a386-ba0b4c61584d",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-11-18T13:20:53.4472612+00:00",
"sales_territory_id": "0a3bf173-e6b6-4676-abc0-0ead188d95a7",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "982621b0-5631-42ad-a4fd-5758ed78e029",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "14e2d033-4f5e-44d6-b00f-ceff61a7d00e",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "216a5663-d061-4759-8237-facdfa10a005",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "0c864629-e69d-417d-93a5-115e8bed7202",
"db_currency_id": "bfb0441a-9011-4040-869a-3da840c341c2",
"db_language_id": "2a7c3f9c-f1cb-4773-bab6-837600dc08da",
"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": "2026-11-18T13:20:53.4472612+00:00"
},
"modified_dateutc": "2026-11-18T13:20:53.4472612+00:00"
},
"marketing_segment_id": "c0c9e647-c66e-4377-8fa4-5e93c9a0548f",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "5f13ea27-4858-42ab-86bf-8410a0132228",
"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": "21cf63af-e601-458c-b930-cf36fe8c8942",
"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": "54ca7d8c-e982-4313-a640-9296dd09fb56",
"db_country_code": "sample string 28",
"feelist_id": "326e2c94-5644-4e5d-ace6-7aa32ddd963e",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "c69dc1a3-19c8-4684-9639-5541305ddbde",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "bcd6af16-c321-47be-a778-b25c50ae4993",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-11-18T13:20:53.4472612+00:00",
"db_currency_id": "287f66e8-c125-42db-bdc2-037f2aa13c6a",
"db_currency_code": "sample string 10"
},
"company_type_id": "9418723a-f388-4c1b-92cd-5b7ae69d49ae",
"company_type_name": "sample string 32",
"company_type": {
"id": "a3d64b67-bf9e-418d-9fea-0cb27f73e306",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "dc6d0b11-c8e0-45a6-912f-e48558d70fd9",
"sales_organization_code": "sample string 5"
},
"db_language_id": "502c2515-38b3-49d5-81b1-1975bf72611e",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "c6ec6fe9-9bd8-4c9c-8650-fd45858d6d21",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "7989f1b7-7dc2-4564-945f-4c7bce8adc67",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "4c13a32b-e35a-479a-a1a6-55e3cfdbca5a",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-11-18T13:20:53.4596156+00:00"
},
"company_sector_id": "193e84a3-96ab-4428-a126-59427ff40a63",
"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": "0b58ea5f-a8c9-4ace-8fc5-0624cfb8b1ee",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "9caf9d5a-25fc-46d6-a72b-3656331bf403",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "ec26deb3-8b5b-472c-a01b-37a16ce18239",
"account_manager_user_code": "sample string 56",
"company_status_id": "04ef5e17-3a2f-4df1-a16e-ac59b6b71a1b",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-11-18T13:20:53.4596156+00:00",
"id2": 60
},
"db_language_id": "8aa38b14-96eb-437e-a696-eefe187c6745",
"db_language_code": "sample string 7",
"db_title_id": "061485bf-1a91-46af-af64-ab06464ed51d",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-11-18T13:20:53.4596156+00:00",
"create_date": "2026-11-18T13:20:53.4596156+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": "2026-11-18T13:20:53.4596156+00:00"
}