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": "1ad9f794-3db7-454a-abff-284053ee0d8f",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "8cb0389b-abe9-43e4-871c-8d4aa1bea613",
"company_code": "sample string 5",
"company": {
"id": "0c7d9468-806c-4604-90bd-205b305813a4",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-02-08T16:56:06.6439172+00:00",
"sales_territory_id": "6fefcea9-9e04-41de-a436-37f558dd4e68",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "08c644bd-3e41-43e3-9e79-5186380e1c30",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "679aa694-0c62-4da8-947d-e7303208bec5",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "3ac86df0-ea48-42dd-9a66-adc290b23c4e",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "1b153346-e9b8-42a7-9fad-a86efa8b32d8",
"db_currency_id": "accfa97c-962a-47af-863a-3874cf44f323",
"db_language_id": "8e3d0eb3-9aba-4879-94c1-fa614ae41e01",
"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-02-08T16:56:06.6439172+00:00"
},
"modified_dateutc": "2026-02-08T16:56:06.6439172+00:00"
},
"marketing_segment_id": "734eace9-30e9-4a9a-a115-30a574db21e7",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "060b5a8b-183b-4dec-9f85-16aaac50deef",
"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": "e25f8d42-19dc-4dde-99c7-b4e5964450ba",
"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": "1f09bae9-683e-40fa-a315-79a05890478c",
"db_country_code": "sample string 28",
"feelist_id": "a6bbe944-c266-4923-8f53-9d9addf74c0d",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "83c39021-9e89-4a05-a293-069598c40f0a",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "01151f85-e34f-43ae-8355-3c51c1a7eed7",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-02-08T16:56:06.6439172+00:00",
"db_currency_id": "ada50258-3230-43e3-a2f1-323d18c131fc",
"db_currency_code": "sample string 10"
},
"company_type_id": "5e17e958-ffeb-4367-9f15-e0cfd37e8ad3",
"company_type_name": "sample string 32",
"company_type": {
"id": "6cf5b878-288d-41a6-a387-64e00ecf9e3a",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "4c8c143d-4671-44c6-82c0-630b90e1fb1e",
"sales_organization_code": "sample string 5"
},
"db_language_id": "11a3dbb9-4d1c-475b-a7c6-c578086454da",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "2f33e08b-cdd2-4e9b-bc38-45bd01532ac0",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "7232bde5-5342-436f-b637-41218e90ba3f",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "39e61ca2-32f5-4a6c-8094-b64257eb34ae",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-02-08T16:56:06.6439172+00:00"
},
"company_sector_id": "deea4e56-644b-4fb0-84d4-127478890308",
"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": "8281ab30-4f85-444f-9005-0d327be28bc2",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "767bc757-f466-41e5-995e-adce1cc2702c",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "3b7a2d94-4553-4aee-be89-c28184d51cdb",
"account_manager_user_code": "sample string 56",
"company_status_id": "427e4994-b4d2-4e6d-aba8-c74cf8835409",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-02-08T16:56:06.6439172+00:00",
"id2": 60
},
"db_language_id": "98e6f752-9a9c-41bf-9107-7460d394fa3b",
"db_language_code": "sample string 7",
"db_title_id": "cbd04674-171c-4588-a35f-328dfc799203",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-02-08T16:56:06.6439172+00:00",
"create_date": "2026-02-08T16:56:06.6439172+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-02-08T16:56:06.6439172+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.