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": "52166f4e-bbf6-4f85-bbbd-56bbd8f131e7",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "4e9940c7-935b-41d2-bda5-d6f7f44ba4a6",
"company_code": "sample string 5",
"company": {
"id": "e9fc58f4-6390-4aad-8965-055c73a55bf4",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-06-12T04:36:42.2842205+00:00",
"sales_territory_id": "587658d3-6616-4d12-a16e-d9caa9ee5318",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "20817afc-be02-4bf5-99cd-50049f846e75",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "d5fb232b-cc47-410b-ac52-09a4bd6bf761",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "43200b68-767f-4015-a1fd-2ec0376ea950",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "7859f097-f5f2-48aa-a720-1e632f3e9c3d",
"db_currency_id": "aa3c27bd-29f7-4004-a745-3abde92dfd19",
"db_language_id": "504a5036-cde3-4c0a-8a3b-b6da923530e7",
"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-12T04:36:42.2842205+00:00"
},
"modified_dateutc": "2026-06-12T04:36:42.2842205+00:00"
},
"marketing_segment_id": "13595405-b6b5-4c7c-ac2b-b28431ab9547",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "3c0a51ee-3cae-478e-96b7-f5bfbbc71df8",
"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": "9273234c-6cc7-44c1-8de9-5d46ae34b993",
"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": "3a4f56e5-2c78-46da-947f-06944413e095",
"db_country_code": "sample string 28",
"feelist_id": "39e6f24d-e643-4f90-a207-54d35f516f7b",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "c37942bf-fded-4906-a502-c9fac3780974",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "740b346f-e035-4622-8e4d-c2eb66c860bd",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-06-12T04:36:42.2842205+00:00",
"db_currency_id": "0fc80644-84bd-4d82-8e8d-469edff6355b",
"db_currency_code": "sample string 10"
},
"company_type_id": "d19f8470-b76f-4e15-8239-541c3db06f22",
"company_type_name": "sample string 32",
"company_type": {
"id": "8ac27c27-c6e0-4c45-ad27-c9954a1b44d5",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "5e3aa2b1-a93a-4130-a88b-0b9d5a868dc5",
"sales_organization_code": "sample string 5"
},
"db_language_id": "2a90a45a-e50f-4ea6-be87-60277cf4d033",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "e06ef2ed-872c-4294-89d0-889177c0c2a7",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "7c1c64c6-1538-4d62-80ac-ac01f896f633",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "72de706a-b7cb-4819-8c08-761c2dbc73dc",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-06-12T04:36:42.2842205+00:00"
},
"company_sector_id": "77ddbac4-627a-4535-9b82-10624c2ee924",
"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": "1e873129-528c-42a4-9fc7-433069fbc170",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "2eb83985-bb72-447b-b9da-ce797b0846d9",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "80c29957-15ed-458b-b01f-37b37d1fe542",
"account_manager_user_code": "sample string 56",
"company_status_id": "a510eb10-6431-4cd6-a984-6fe959c68725",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-06-12T04:36:42.2842205+00:00",
"id2": 60
},
"db_language_id": "a52d466f-a2fc-42ab-a045-f6292e4781c9",
"db_language_code": "sample string 7",
"db_title_id": "f762b02e-2b0b-429f-a0fd-df4bf0200baa",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-06-12T04:36:42.2842205+00:00",
"create_date": "2026-06-12T04:36:42.2842205+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-12T04:36:42.2842205+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.