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": "64d9a036-8849-4ac4-8b2f-dfb8c80661d3",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "e5682d81-41f9-40cd-8cb0-b8063e7134de",
"company_code": "sample string 5",
"company": {
"id": "07c2a8c2-576a-422a-8ec1-baa8c4d4ecb7",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-05-14T08:13:25.1417431+00:00",
"sales_territory_id": "9b764e7e-6605-4ce5-9d8a-a7879a6d33c8",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "5fbc72e0-ac34-47a9-b30b-004e53305d53",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "fadf161c-d64c-46ed-9bb3-854b4e77229a",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "01b7c380-8f79-45b9-a215-efdae7633c8a",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "3c5bc780-bfef-44b7-8cbe-c812656a11f9",
"db_currency_id": "ee0cf26b-4823-41dd-b4e8-d85d573d5f23",
"db_language_id": "e6496a67-6ea5-4e64-93f7-d13f8b0ed67c",
"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-05-14T08:13:25.1417431+00:00"
},
"modified_dateutc": "2026-05-14T08:13:25.1417431+00:00"
},
"marketing_segment_id": "9cabe944-2b1f-4961-8f24-a76448eee9d8",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "c406460c-c8b1-4a41-97ce-fc3377de42fb",
"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": "efc31b5d-ed6d-4cd4-9984-f360037b3f48",
"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": "0832b2d9-43e1-43f2-9029-8b0dd1f4bb83",
"db_country_code": "sample string 28",
"feelist_id": "5d2b5ddc-0fe7-4981-bc65-54560f86a7ef",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "aa4cd616-6307-449c-ae73-54a8dda4cbef",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "579227ca-119e-485a-9a3b-c2649174bb4a",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-05-14T08:13:25.1417431+00:00",
"db_currency_id": "d0ef8eed-fab2-4693-8927-531f5d270627",
"db_currency_code": "sample string 10"
},
"company_type_id": "05d0839f-83de-4050-ad38-f0674b4913b8",
"company_type_name": "sample string 32",
"company_type": {
"id": "c2888ff4-4c7e-4348-813d-abd56da6bd1e",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "5628545a-3e78-42cd-8ebc-0e12e3ce7fa6",
"sales_organization_code": "sample string 5"
},
"db_language_id": "c13fbb2d-f01d-4bae-b0c6-0a35c02bd7ff",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "b58ba105-850e-4ba7-92cc-a3a4e3e43f93",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "586399ec-9c40-42d5-aa48-dc1a2b3ac1da",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "936ec538-367b-4d32-9812-a555f0bf2ae2",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-05-14T08:13:25.1417431+00:00"
},
"company_sector_id": "58f0c579-c617-4bf2-a5af-ed7a0e89be32",
"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": "f873bddf-b33c-4edd-9cb5-c28ea2edb7a7",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "b679cc61-ffb6-496d-9d4b-52e38d26dd88",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "215f5158-644b-4ce8-a058-a0e146eca039",
"account_manager_user_code": "sample string 56",
"company_status_id": "67e9d061-3747-48fb-805f-b84dd42fcf4b",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-05-14T08:13:25.1417431+00:00",
"id2": 60
},
"db_language_id": "c56cb51b-f34f-4138-9a97-7f2f027cf38e",
"db_language_code": "sample string 7",
"db_title_id": "a6b4997f-8651-4280-817e-9a683b879b5d",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-05-14T08:13:25.1417431+00:00",
"create_date": "2026-05-14T08:13:25.1417431+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-05-14T08:13:25.1417431+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.