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": "5e0f9876-7dc4-400e-84cd-89b773cd056b",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "4d0c5b6e-94a0-468b-82b1-73629cd86aa3",
"company_code": "sample string 5",
"company": {
"id": "ce212b01-cbfc-4c7a-9925-64b244f30184",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-11-13T10:32:55.2296709+00:00",
"sales_territory_id": "5b2d4abb-c978-4fe2-af61-68aefae4be5f",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "6e5d7d80-1d6d-4bbf-885c-a7249c070a05",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "97b8e9bf-0477-4e43-a4f9-23c3cc17a1fb",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "56f534c4-d180-4970-80f1-6b9c13500e4f",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "17310c90-8b2f-4af5-8b5b-3de4ef0565a5",
"db_currency_id": "7036f1de-5557-4534-929c-92e22360265e",
"db_language_id": "6f5718dc-7349-46d3-8512-61df1fe622be",
"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-11-13T10:32:55.2296709+00:00"
},
"modified_dateutc": "2026-11-13T10:32:55.2296709+00:00"
},
"marketing_segment_id": "e0d58aee-7198-468d-9656-cceb00ffc6cd",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "e5cc27c6-2923-4d10-988e-9b7148ba97f9",
"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": "f6f5a5fe-44c5-47e0-8144-f2a237228571",
"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": "d59848c5-e38b-4563-9d23-4253d47674f2",
"db_country_code": "sample string 28",
"feelist_id": "44699038-14af-493f-ac0d-c516fd85cde8",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "dcb1d915-aa3d-48db-8422-1c2c1b7acd0e",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "f61ed21b-266e-4302-809b-f24bdfeb9caf",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-11-13T10:32:55.2296709+00:00",
"db_currency_id": "52e91e79-471f-4750-b01e-d527efd51458",
"db_currency_code": "sample string 10"
},
"company_type_id": "0b96e88a-801a-4901-b87e-2355eafc30da",
"company_type_name": "sample string 32",
"company_type": {
"id": "321f6910-90de-4ec2-b216-668cdfdaec65",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "f2f274ec-b485-47da-81d6-73c05f494941",
"sales_organization_code": "sample string 5"
},
"db_language_id": "c170f079-2a61-4b80-a853-20d2b3d16b88",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "b6b124b4-8edc-4b1a-af0b-ef1adcdd3dc2",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "cd42735a-58a4-458c-a7d6-61b950a203e6",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "b8d3995c-94f8-481e-bbcf-4a9c29cd9832",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-11-13T10:32:55.2296709+00:00"
},
"company_sector_id": "9a34df3b-05fe-407a-bae2-7d91d422b85d",
"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": "ee2c7662-8268-49b0-bc0e-b5f3ea67afe5",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "40c79fc9-3ae0-4cc1-8be8-9b43f142025b",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "dc6b6f14-7332-4493-ab53-c114aeae4be4",
"account_manager_user_code": "sample string 56",
"company_status_id": "4bc4458f-7f07-4691-a52e-56651e6b4690",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-11-13T10:32:55.2296709+00:00",
"id2": 60
},
"db_language_id": "d13450a2-e8f6-4ab9-a618-581f37c9690f",
"db_language_code": "sample string 7",
"db_title_id": "8d39b2f9-3e10-4890-ba18-cf8a30106e21",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-11-13T10:32:55.2296709+00:00",
"create_date": "2026-11-13T10:32:55.2296709+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-11-13T10:32:55.2492199+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.