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": "11b99b81-e5d2-4e2e-95a9-bdc8a2024d42",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "0aad875f-1e9e-4de6-a25e-303c173e67c5",
"company_code": "sample string 5",
"company": {
"id": "f9db8d25-9f0a-4df3-8e2f-b1f76b037e17",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-06-16T04:26:15.5227833+00:00",
"sales_territory_id": "1c8a591a-c570-4b56-85ff-8f4087f77b5b",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "f68e4df4-a1ac-4ddc-886c-4ff6f7be593e",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "347aab5c-f811-461b-959f-1b367194dbbe",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "c0ed815f-85ed-484a-8b34-3e3ad74f4c3e",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "18efcc88-826a-48ca-bcdc-b83d1ba888b2",
"db_currency_id": "d2b1a2de-6f65-441d-a5d3-c024d3df77b5",
"db_language_id": "6acd5588-9c6e-4f0e-b035-8936adb9a5ec",
"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-16T04:26:15.5227833+00:00"
},
"modified_dateutc": "2026-06-16T04:26:15.5227833+00:00"
},
"marketing_segment_id": "3129bc71-0cf0-4eed-a37d-8d8b123a3f14",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "5b486360-7d00-4e19-afc5-7ff6ff470aed",
"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": "715260be-a0ef-4fcf-930d-76a1faa90ec2",
"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": "3a3ae139-8515-4339-883f-afcb8c985f51",
"db_country_code": "sample string 28",
"feelist_id": "5f28859d-ac24-49f2-acda-31f0c4a625e1",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "2f8b7c96-0120-4bba-a3cd-29cbed625cc9",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "fd207efa-74f0-4aa6-a408-b8d8f07af262",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-06-16T04:26:15.5227833+00:00",
"db_currency_id": "e30a53e5-7a1e-4ebc-96f8-27e26637eca1",
"db_currency_code": "sample string 10"
},
"company_type_id": "f414f4bb-76f4-4cf2-8a68-5543dd46247c",
"company_type_name": "sample string 32",
"company_type": {
"id": "7340642b-d61e-41fc-8298-f9dd9529e2e5",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "388f2ea4-824f-479d-b7e3-5bbb2ab5dfe5",
"sales_organization_code": "sample string 5"
},
"db_language_id": "1789f96d-2e42-4bcb-9d7f-c83fd2c1fdca",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "6148db14-59d6-401b-912f-ef198e39dc77",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "3e00294d-57f2-407c-b20a-5a009ee39c92",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "d4152b23-470e-4a7a-9d38-5743841c55ca",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-06-16T04:26:15.5227833+00:00"
},
"company_sector_id": "03e45e77-863c-4567-b536-b81e5f181165",
"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": "c7152a6c-1f44-4b7c-8ede-ba7b895363af",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "4bc16161-bdbc-4f8e-8fea-59f3d53f13e9",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "ed1528d8-e775-454a-96d2-0c20083cce2f",
"account_manager_user_code": "sample string 56",
"company_status_id": "390d9a80-9b49-4d80-bf11-a63f119ebbf8",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-06-16T04:26:15.5227833+00:00",
"id2": 60
},
"db_language_id": "f4ee3da7-70c1-437a-87e0-5dafc695b328",
"db_language_code": "sample string 7",
"db_title_id": "d3f12c1b-98e7-444c-9571-8ed5d8e203df",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-06-16T04:26:15.5227833+00:00",
"create_date": "2026-06-16T04:26:15.5227833+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-16T04:26:15.5227833+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.