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": "af350b94-c36d-4358-8ec3-e8654e8b1df8",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "8b92eb96-5f42-4c7a-ba89-68d4c4b66201",
"company_code": "sample string 5",
"company": {
"id": "f988d5de-4613-4649-80ff-954f0f4884c8",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-09-30T08:36:03.3608377+00:00",
"sales_territory_id": "b9486ebb-16d5-4f79-8a7c-b7fb9a198ec8",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "3ea5b783-52d1-4a6f-a50c-1f4ad66589dd",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "8cf353c9-ff18-4545-b473-983aa37e2667",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "7b95bd2a-08bb-4df5-8bd0-a872188fdf40",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "93371231-a5dc-4340-8332-3b62dfb5daa2",
"db_currency_id": "8272ce59-5056-430b-a269-98d40b645af2",
"db_language_id": "bd04550e-ef21-4756-bbf2-70b5b08f5003",
"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-09-30T08:36:03.3608377+00:00"
},
"modified_dateutc": "2026-09-30T08:36:03.3608377+00:00"
},
"marketing_segment_id": "ce75259d-1e40-4e6c-86a9-cbea426b358e",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "0a184df7-5e57-47e4-898f-85b371c2a3df",
"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": "7087b1da-aaba-4cbe-b099-b5831c367e48",
"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": "83ae0a59-a41c-467f-8093-46f34ca68fe0",
"db_country_code": "sample string 28",
"feelist_id": "8baf4a22-040e-4913-940b-77d19d2c00dc",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "8f59c6a7-3824-4299-b6b9-a38c117088e1",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "d9e9fa3d-e522-4b41-a898-57361990bc83",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-09-30T08:36:03.3608377+00:00",
"db_currency_id": "f065248c-7f6f-4777-8649-6881b0824bb4",
"db_currency_code": "sample string 10"
},
"company_type_id": "43599a54-b9c3-4bd5-a7f7-b6db852a1374",
"company_type_name": "sample string 32",
"company_type": {
"id": "83b213a8-ae6f-43f0-a68f-57fdb111db57",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "daa1f4cd-74ad-4bc5-91fd-ff56a274f4bb",
"sales_organization_code": "sample string 5"
},
"db_language_id": "f0f17d07-e5be-4134-a030-2126e52ff67c",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "b2c2b6b6-e71d-4580-abc7-23e7b0ce9dea",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "1f04093f-1433-4719-bcac-596ae8f19df3",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "f275ca13-5dae-4bdb-acfb-648a9edae862",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-09-30T08:36:03.3608377+00:00"
},
"company_sector_id": "940d18b4-b82e-4f95-9d5b-3c7cf211ab25",
"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": "6bc2b35b-f591-42ee-b15f-e9033f29bb77",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "d2c339f3-d3d7-4b5e-a21b-0a49e978a5d4",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "def306d8-0a7e-40d1-8935-ab5c69bf00b0",
"account_manager_user_code": "sample string 56",
"company_status_id": "435152d0-8c64-4511-881f-0c35e7ae9e2b",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-09-30T08:36:03.3608377+00:00",
"id2": 60
},
"db_language_id": "6b532f05-6ecd-444b-8cd4-444929d0fdd2",
"db_language_code": "sample string 7",
"db_title_id": "786b965b-4586-4e43-b4d1-48fef2a371bb",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-09-30T08:36:03.3608377+00:00",
"create_date": "2026-09-30T08:36:03.3608377+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-09-30T08:36:03.3608377+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.