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": "93751703-a0a3-4056-b211-8782cfab84c0",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "636a1be1-f0d5-4653-b86c-e6cffe0b985b",
"company_code": "sample string 5",
"company": {
"id": "4c12c0ab-0306-4d3e-bb50-2525800a6fae",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-06-14T14:55:20.5556652+00:00",
"sales_territory_id": "fdc51b0b-2cc8-4ab2-8971-cb3362721429",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "47cc6703-ea2f-4e5d-8de1-d4a26faa1633",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "24d0394c-0792-4a35-8abc-95b5ccea9010",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "2602d6b4-404f-43e5-b899-f659538cb2f7",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "5171cd29-73ad-4106-91b3-e80658509a9a",
"db_currency_id": "14b5c0b4-c4c9-4ae0-a6f4-e51d6121f4f5",
"db_language_id": "e47debf2-bf4d-4432-bcb6-2bfe73390354",
"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-06-14T14:55:20.5556652+00:00"
},
"modified_dateutc": "2026-06-14T14:55:20.5556652+00:00"
},
"marketing_segment_id": "0428d1c8-5b09-4e54-ae6e-211490fda5a8",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "4864365a-6aa8-48bc-b49d-c8e02d3ffe09",
"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": "c627b455-1abd-48f0-98fe-e6305b18bdff",
"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": "5de84161-9cf8-4049-b7d8-d871860e3452",
"db_country_code": "sample string 28",
"feelist_id": "237ca72f-4322-4ae3-b8a6-580121f58a38",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "8eef8e3e-325d-4290-9666-1b98ba397418",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "b542ecda-cfac-4c93-afdc-58b296091ec3",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-06-14T14:55:20.5556652+00:00",
"db_currency_id": "1d6a28bd-e0b5-4aa3-ba1c-627cde4f8785",
"db_currency_code": "sample string 10"
},
"company_type_id": "81d8eb88-75ef-4879-8598-8bd589c527f0",
"company_type_name": "sample string 32",
"company_type": {
"id": "6ed51cc3-19f4-4ca1-a07b-ef2f2fe0f1c8",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "ca424c20-de92-4deb-99ed-c9808c00a5e1",
"sales_organization_code": "sample string 5"
},
"db_language_id": "763755f7-0074-4b7a-8bc3-d2eea1f5394a",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "cd1debc0-a16d-4afe-903d-c097ad50537d",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "86070bf3-173d-4ac6-8199-19ac3de53ab2",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "a3fee4dc-9058-4ebf-8810-da776f252574",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-06-14T14:55:20.5556652+00:00"
},
"company_sector_id": "e632a411-300a-455c-89b8-2b9a88401854",
"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": "e36ab476-9f76-4621-a643-b06e5da1e34a",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "8eed9a50-2aca-4d5c-bb8a-9bfe04000e1e",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "28235310-0ef6-46a1-aca4-f8a530e808bd",
"account_manager_user_code": "sample string 56",
"company_status_id": "8bc23f1e-86e8-4cba-8848-80299bbd13fa",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-06-14T14:55:20.5556652+00:00",
"id2": 60
},
"db_language_id": "aea0b4f5-92b1-4731-8f55-98ac89c74c26",
"db_language_code": "sample string 7",
"db_title_id": "9b01bae9-2099-4c15-8b09-a12bef149d90",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-06-14T14:55:20.5556652+00:00",
"create_date": "2026-06-14T14:55:20.5556652+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-06-14T14:55:20.5556652+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.