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": "de6a2525-5493-468c-9b01-84ca69dad84c",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "a0e4e1c1-29f9-4547-b4e3-05b51ecd216e",
"company_code": "sample string 5",
"company": {
"id": "29c5fa8f-fcb3-4330-a8ac-4eff1186f877",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-07-26T08:13:47.3645914+00:00",
"sales_territory_id": "0d82f199-f282-460c-b2c0-b038252a53b3",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "cf303d9e-fc7c-4d2f-9937-a90e5d9c1cf6",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "9d4ffd4a-e829-4c96-90b4-f06ac03d4be0",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "1687773d-ff69-4205-9b3e-a264892375ca",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "b2784273-bee0-43e6-821e-4d7144f7d4e6",
"db_currency_id": "fcfac64b-5f58-457f-8b01-6407ac0a2573",
"db_language_id": "c82a1bd8-d440-414b-a977-45fe937b69fb",
"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-26T08:13:47.3645914+00:00"
},
"modified_dateutc": "2026-07-26T08:13:47.3645914+00:00"
},
"marketing_segment_id": "2448fd0e-fe8e-4fa0-b998-299c57821d11",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "6cf79933-4614-413a-8b2e-ece0c588774e",
"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": "4aa7daab-fa07-48d8-80d5-f60b0f55fce8",
"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": "4748ddfa-0b59-4a20-8ff9-0ff3630e56d3",
"db_country_code": "sample string 28",
"feelist_id": "7d27d913-8c9b-4fce-a747-c4f187f3002c",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "c4a9dbac-7f24-4ec4-b67c-c32fb0f98863",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "73eb8670-d3ce-4ff5-88ab-f6f34cdc0368",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-07-26T08:13:47.3645914+00:00",
"db_currency_id": "f2182b0d-24f5-483a-85dc-bba1851ff92a",
"db_currency_code": "sample string 10"
},
"company_type_id": "454a94f8-5fcb-4724-b94b-9f166b98ab68",
"company_type_name": "sample string 32",
"company_type": {
"id": "2c9c273e-51fd-4e3e-a39e-010205603a28",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "08963d39-915b-4d88-81d3-3385a1f0b6bb",
"sales_organization_code": "sample string 5"
},
"db_language_id": "e875cf22-47ef-41da-81ce-93b5d0b35f56",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "d91520d4-8923-4a9c-9d44-8d3d9017c01d",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "28f2f337-8971-4ccb-a48d-86a31056a0f0",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "5fb0ae75-fc86-4519-a5bb-fce4e9e2f6c4",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-07-26T08:13:47.3645914+00:00"
},
"company_sector_id": "846a7e0b-1a46-4e18-b401-e8437d10ee82",
"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": "366c2f73-4371-44e1-8385-5935d8c787f5",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "f7fcce9a-d274-4012-960d-352baf5722fe",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "d0ee59bb-ebcd-4cc2-8fd7-d7245b534b71",
"account_manager_user_code": "sample string 56",
"company_status_id": "193dd3b9-5229-45a6-907c-3d344c613641",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-07-26T08:13:47.3645914+00:00",
"id2": 60
},
"db_language_id": "d007f6bd-006b-40f0-82f6-bd4caf24c0cc",
"db_language_code": "sample string 7",
"db_title_id": "6e04cf81-0496-4615-83f2-9e371346ab7d",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-07-26T08:13:47.3645914+00:00",
"create_date": "2026-07-26T08:13:47.3645914+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-26T08:13:47.3645914+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.