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": "126206da-36c8-404b-b623-5cc8a0975458",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "8632f2cd-b93b-49d8-85c9-19d8300d7954",
"company_code": "sample string 5",
"company": {
"id": "7360d2eb-1b2c-44ae-b55e-e4d17654e7c6",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-03-12T07:33:09.3557121+00:00",
"sales_territory_id": "2647f6b3-e5f9-4aef-ab0c-9778c8a12415",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "9e3beb89-63c9-408f-958c-e4bad1a8209b",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "931e951c-e43a-494a-b238-86f0c36b1789",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "8e50a59d-2f07-461c-8fd0-3124fae8e3c4",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "bca6a4f9-ef4a-442b-8fc3-27aca3547a4b",
"db_currency_id": "d42b132b-a696-4a82-8952-f7acc73fc839",
"db_language_id": "ee93564e-2d91-4ffb-bb82-861680f9aaed",
"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-03-12T07:33:09.3557121+00:00"
},
"modified_dateutc": "2026-03-12T07:33:09.3557121+00:00"
},
"marketing_segment_id": "9750dcc5-44c6-44b6-b1cb-ff38d570c50b",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "5922855e-9ae9-425d-be42-12debfc73659",
"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": "af4a3227-162d-4b27-a9d1-5499b93a1e22",
"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": "34da220b-5b7f-4124-8e4a-4e1513a1291f",
"db_country_code": "sample string 28",
"feelist_id": "315ded57-30e9-4588-82b4-30e6fbde712b",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "5ac90d80-bb54-418f-97a7-e813e57a8330",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "9037f316-0fb4-4019-bb20-0b235b6654c6",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-03-12T07:33:09.3557121+00:00",
"db_currency_id": "d767f95d-3fe5-4f12-8514-ad81d567fb7c",
"db_currency_code": "sample string 10"
},
"company_type_id": "0af366f7-885a-4095-9a95-7c574256d6ef",
"company_type_name": "sample string 32",
"company_type": {
"id": "f5772a36-0cfb-4b9a-b45d-c625e63a8394",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "ad32e932-1e14-4548-831f-077af1b625be",
"sales_organization_code": "sample string 5"
},
"db_language_id": "ab208b4f-5e81-4424-bf2d-560f800317ab",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "00865f1c-10d7-44ec-84ca-782823a5e795",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "ebbe08fb-1a9f-4d14-9352-3a0c2ed99684",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "fff16595-fd3f-4e31-b3c5-4b249b1aa5d8",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-03-12T07:33:09.3557121+00:00"
},
"company_sector_id": "32d81f3b-c999-4645-9412-08810b077b72",
"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": "366c1310-b353-4471-ae0f-2279cfc0e8cf",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "e84e8bd8-6ae1-4947-bfa2-7805ff7f499b",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "1433704f-10d3-4567-acbe-22e3bf39c21c",
"account_manager_user_code": "sample string 56",
"company_status_id": "1ef1bc23-f29a-4686-aa57-c4beb7e2b5fc",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-03-12T07:33:09.3557121+00:00",
"id2": 60
},
"db_language_id": "175836ec-ac00-4b86-8fe0-1beb46cd9cec",
"db_language_code": "sample string 7",
"db_title_id": "64c3e73b-80f3-48d9-be3d-c4ffe14e0f69",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-03-12T07:33:09.3557121+00:00",
"create_date": "2026-03-12T07:33:09.3557121+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-03-12T07:33:09.3557121+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.