Updates the contact with the specified key
Request Information
URI Parameters :
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters :
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 |
Request Formats :
application/json, text/json
{
"id": "e4a330c0-20a8-4961-b8b8-555ee7d35c50",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "b74a4f4f-9150-4528-947a-a0f8c06ac892",
"company_code": "sample string 5",
"company": {
"id": "d634685b-68cf-4b3e-b518-afb9705bd5a9",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-04-11T10:50:46.3176454+00:00",
"sales_territory_id": "fecf1691-5753-42ab-a7ff-cc28025b1742",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "e800fa42-d0c8-4a0c-9663-61f5c2b326e7",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "677d0b5a-ed51-438b-b326-ab64cde5e4f9",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "4485278e-bfa9-489a-bc79-3b67f9afc3b2",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "63b25732-fde6-4dbf-bf6b-7a20b927ab97",
"db_currency_id": "4276a92f-151c-4c07-bf85-e4620859f93c",
"db_language_id": "cd02cf37-c268-4a73-bea1-a1cb17afb8d9",
"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-04-11T10:50:46.3176454+00:00"
},
"modified_dateutc": "2026-04-11T10:50:46.3176454+00:00"
},
"marketing_segment_id": "6a531203-0543-4390-ac90-6601a5c57f3a",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "be3c6175-e383-47b9-a504-c88208d3e8fb",
"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": "91c8ecbe-bc8d-4721-9e32-d226e46b0569",
"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": "373017e4-c9b2-42d0-87c1-b0e31ee7cbfc",
"db_country_code": "sample string 28",
"feelist_id": "e3454bbb-3907-4926-8009-74a0c4a73aa4",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "2bafecd7-35f7-4a59-86d6-a241d25343a2",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "51ecc041-5f0c-4b7c-ade4-e467342f6ddb",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-04-11T10:50:46.3176454+00:00",
"db_currency_id": "a9ce06ee-41fc-4366-a92a-c34b63b1e232",
"db_currency_code": "sample string 10"
},
"company_type_id": "e96434f1-2aef-4f58-ab41-f580a34c23b4",
"company_type_name": "sample string 32",
"company_type": {
"id": "bf90f8f7-1f58-4ed9-bfab-c3394e73c9a8",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "ab4eb978-dddf-4f50-b356-7912af9589b1",
"sales_organization_code": "sample string 5"
},
"db_language_id": "26b0e868-deb8-4cc5-a67d-f944636591d1",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "47abbda8-f0c3-43b3-b63e-78e98b73f0a2",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "f8cf0bd9-cdc6-4a5d-9507-80704594bf6c",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "5c5c28d8-0258-4604-9e1d-8ffbee336682",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-04-11T10:50:46.3176454+00:00"
},
"company_sector_id": "1b66ce7e-118a-4441-bf6d-c68c3e138ec7",
"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": "543570e9-5e8a-4654-bdf3-862fd5b2c031",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "c95b4c85-5438-46bb-a86c-729c353a4164",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "90ca49a1-99c7-4f25-8e38-135e226ec1ab",
"account_manager_user_code": "sample string 56",
"company_status_id": "7daac342-f63a-485b-bf5e-2b8d7ece8566",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-04-11T10:50:46.3176454+00:00",
"id2": 60
},
"db_language_id": "73686b53-246b-4c70-97b6-e3a3502efe9b",
"db_language_code": "sample string 7",
"db_title_id": "e1e60e13-c71a-4e87-9e04-584d2c689374",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-04-11T10:50:46.3176454+00:00",
"create_date": "2026-04-11T10:50:46.3176454+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-04-11T10:50:46.3176454+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.