Get Contact by Company Id
Request Information
URI Parameters :
| Name | Description | Type | Additional information |
|---|---|---|---|
| company_id | string |
Required |
Body Parameters :
None.
Response Information
Resource Description :
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": "52c4ad5c-a8c7-4c65-a2b6-48d1cc4747ed",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "c0d6a9aa-206b-477d-8cb8-f2262a9d9c74",
"company_code": "sample string 5",
"company": {
"id": "ae89d1db-f41b-41aa-9843-a9bbef537743",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2025-11-23T00:55:57.2583028+00:00",
"sales_territory_id": "f4807ab6-81c8-4044-a62b-e381311ba3fb",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "05e06eb6-f7e1-4c73-bee0-17a5ff364c48",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "deface04-a9c9-44a8-8fdc-724106575f84",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "90235515-673a-4bdc-a682-fb4ca5caba93",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "3429ca73-146b-4c35-93cf-7bb6c8516f60",
"db_currency_id": "12b2a600-3654-43b8-bd69-9577a844fef3",
"db_language_id": "7ec8bb46-e427-45a2-a5fd-e08dd324b797",
"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": "2025-11-23T00:55:57.2583028+00:00"
},
"modified_dateutc": "2025-11-23T00:55:57.2583028+00:00"
},
"marketing_segment_id": "65a07174-dd5b-4bb4-a85a-bd98c1034be9",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "909b9cc0-c50a-4f9f-b9a0-4617ce060a0b",
"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": "279fd653-f109-4987-a77b-258145fab8e4",
"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": "1adf6e01-433f-4bf8-8a0a-372322dd4a31",
"db_country_code": "sample string 28",
"feelist_id": "cbaed5ac-6259-4b64-b79f-58747593875a",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "9bae637f-97b2-47bd-bc4a-13e69fa4dc89",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "46c300fd-a475-46c1-94d0-1b13bf20d30e",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2025-11-23T00:55:57.2583028+00:00",
"db_currency_id": "fe60e50c-accf-441b-b4f3-711c9fe91108",
"db_currency_code": "sample string 10"
},
"company_type_id": "8b2f2436-3a2c-4e52-aaea-d4770452dc04",
"company_type_name": "sample string 32",
"company_type": {
"id": "9adea0a0-f455-4989-96b1-3ef6d5b2a3b5",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "5ba3f546-e01b-4365-b654-e13eb29a3e3e",
"sales_organization_code": "sample string 5"
},
"db_language_id": "11dfbfef-f648-4384-bbe5-0fbf77b7e79f",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "ebfcf647-2176-4c1b-a571-38f8d9c44637",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "44d80ef7-3164-4254-91a6-47b9fde815c9",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "9ed96f7a-668b-4cd9-959f-30b3605a8486",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2025-11-23T00:55:57.2583028+00:00"
},
"company_sector_id": "f3c04678-206a-4627-ac57-a958085b9928",
"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": "360eca82-a7a6-4aee-a557-0b6e3697a061",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "1c104acd-377a-4656-b777-7d3f97cd3d2d",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "153257cf-13e7-44ce-ad85-c9be5d87527d",
"account_manager_user_code": "sample string 56",
"company_status_id": "2580ef83-cf5d-428e-8a47-0e65593e0fe3",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2025-11-23T00:55:57.2583028+00:00",
"id2": 60
},
"db_language_id": "1b15b7d2-167d-4a11-88a8-6cccd3b47142",
"db_language_code": "sample string 7",
"db_title_id": "c5b2a97b-ed57-443e-9395-d758376f3d59",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2025-11-23T00:55:57.2583028+00:00",
"create_date": "2025-11-23T00:55:57.2583028+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": "2025-11-23T00:55:57.2583028+00:00"
}