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": "84cb8938-7bbf-40ee-95d9-152c65f80959",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "ca5ae06e-f001-477f-bdb2-fef208a89130",
"company_code": "sample string 5",
"company": {
"id": "3e717cf6-8d3a-4d6e-8a93-4afda3ab4a3f",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-04-03T00:25:05.2722431+00:00",
"sales_territory_id": "d4289a14-e276-4e22-8db3-573c0fe47bb2",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "ce8bdc66-97ab-463a-89a2-fdb0c9854641",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "bc392bc7-aa3d-4270-ac0e-e2c036e494ec",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "b2e5c5d9-1e36-4d69-a5e3-d3a8ce0ea867",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "74f10380-726b-4765-bf31-76959b2c6e00",
"db_currency_id": "ed22fa19-ef57-49d3-b485-72514c7e974a",
"db_language_id": "6fb930ea-fa76-4ff4-adb3-f0f516e1a354",
"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-03T00:25:05.2722431+00:00"
},
"modified_dateutc": "2026-04-03T00:25:05.2722431+00:00"
},
"marketing_segment_id": "b06eeb5a-e881-4a69-94a2-86bad01d7abd",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "aac7c21e-5a1d-44fa-a705-537891078ab4",
"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": "78cab8f0-31c6-496e-ae6e-1a3fcf54d55e",
"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": "68571338-8930-45bf-99c5-655500ff7168",
"db_country_code": "sample string 28",
"feelist_id": "9e2b886e-ebd4-4abf-aa45-8cd00a0443bf",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "153c3276-760b-4f2a-8774-aa13380f8560",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "96cb43b9-8669-414d-b1dd-3b12d5441067",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-04-03T00:25:05.2722431+00:00",
"db_currency_id": "a2c6d32e-89f9-465d-bf6f-c67143622609",
"db_currency_code": "sample string 10"
},
"company_type_id": "ad0aacbf-d620-44ec-8af6-c0c2c456c6cc",
"company_type_name": "sample string 32",
"company_type": {
"id": "d71956e4-82ee-48e4-8209-9eb5c444fab4",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "888bc3bf-c37b-4539-baa3-403a8a352b09",
"sales_organization_code": "sample string 5"
},
"db_language_id": "335056df-189f-494f-9c4e-ce72d3cba181",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "4ce1cd49-6cd2-48f0-9361-68950269afc5",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "541daa70-4ea6-488b-a99c-5148190190e8",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "9f749adf-1d25-4b7c-b413-fc6ad3e20557",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-04-03T00:25:05.2722431+00:00"
},
"company_sector_id": "92435ca5-71ff-4974-8341-45eedbf030e3",
"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": "5e1931ed-c345-4bc7-920a-9c0496a2178d",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "fc87c5c6-21bb-4ae2-a966-28201453a6f9",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "44782c66-e97c-4722-8ed0-ed1188c8b51b",
"account_manager_user_code": "sample string 56",
"company_status_id": "62bac262-1863-4c37-a035-02e8c7c6c5a1",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-04-03T00:25:05.2722431+00:00",
"id2": 60
},
"db_language_id": "049fd17d-47c2-4e02-91f5-4087dc0e7245",
"db_language_code": "sample string 7",
"db_title_id": "a9bc53b1-6d5e-4a9b-abcb-11654a555036",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-04-03T00:25:05.2722431+00:00",
"create_date": "2026-04-03T00:25:05.2722431+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-03T00:25:05.2722431+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.