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": "7c683d5a-6f5b-4149-abd1-73e95795a40a",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "1b2ecb2a-378b-44b8-8b29-d246f687a18e",
"company_code": "sample string 5",
"company": {
"id": "aa04604a-60ad-4ce8-be42-4148ebe4cafd",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-07-17T19:23:36.2247452+00:00",
"sales_territory_id": "bf647240-e569-4a82-a5c1-58f0135162e1",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "1d12a5e7-d765-47a2-8742-4cb0cf88c901",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "cfb9368b-5886-41f4-a217-f4e81ee73e51",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "0031c884-72de-47e0-8496-84ac35a1e627",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "b7b3c320-1cde-4ab5-a0bf-6b04108756c9",
"db_currency_id": "11fc7ad4-c4c6-496e-a078-9645a8ce8e8f",
"db_language_id": "e552af11-c742-462a-b8ef-cc2c227b3152",
"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-07-17T19:23:36.2247452+00:00"
},
"modified_dateutc": "2026-07-17T19:23:36.2247452+00:00"
},
"marketing_segment_id": "972d2da3-af54-4e4f-b52c-0339c80ceefd",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "109e078a-bc1d-45d7-b0ef-170ae0025af1",
"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": "b3dc2de9-39f3-4ef5-9f7d-5dcabd6d0852",
"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": "7402704c-5bc7-4d53-8489-6cabd755806a",
"db_country_code": "sample string 28",
"feelist_id": "4e8adf8a-2335-4955-a622-56fd17c77b70",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "988acaff-b028-4513-a65c-ae9b84ae1247",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "0ed0ef4d-3324-445b-a0ce-66a24eec6b8e",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-07-17T19:23:36.2247452+00:00",
"db_currency_id": "7171fa1e-eb08-4da3-8ab6-ad2f48a939a0",
"db_currency_code": "sample string 10"
},
"company_type_id": "c60580c6-e622-4b9f-8af9-a5fced14e577",
"company_type_name": "sample string 32",
"company_type": {
"id": "37fce465-be79-4cf3-a198-9850c7717078",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "a14fa597-f80f-4545-833b-83a6e5096a70",
"sales_organization_code": "sample string 5"
},
"db_language_id": "8b617d8f-8f99-40ad-a504-2adbeef2bef6",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "531ca299-0199-4ca9-90bb-7b8b11105b6a",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "7465ac39-cead-4fe7-92dc-114d61ba2ec6",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "c4f7e031-5306-47cb-a5ae-a0091a67df35",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-07-17T19:23:36.2247452+00:00"
},
"company_sector_id": "3e3d4651-94a1-4814-8dd9-bf4a9eac3110",
"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": "b847888d-bacf-4052-9dd2-49d66b3d1262",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "0992c6c4-8262-41e3-be25-1d8adada42c2",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "ef005503-8086-4e33-89d5-8e2b6906499a",
"account_manager_user_code": "sample string 56",
"company_status_id": "82b7f445-cf0c-4948-a636-750cbb261a22",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-07-17T19:23:36.2247452+00:00",
"id2": 60
},
"db_language_id": "8ea4ca6c-c74e-43fd-93eb-c86c039d80af",
"db_language_code": "sample string 7",
"db_title_id": "0d0b6c89-a06c-4090-9b80-2cc206625418",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-07-17T19:23:36.2247452+00:00",
"create_date": "2026-07-17T19:23:36.2247452+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-07-17T19:23:36.2247452+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.