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": "cd93f275-e57a-4590-ba55-c2ba86773e89",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "c415533c-9ba2-45ea-a2b4-81cc35107af0",
"company_code": "sample string 5",
"company": {
"id": "1ea3cc6b-6625-4ebc-840b-8e77da2ce986",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-12-02T04:49:02.9382969+00:00",
"sales_territory_id": "f889401c-5e47-4ed4-9103-66e6b7a86ff7",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "d4ef21b3-ec4d-4d6c-83f3-57169bcfe73f",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "d2f91fd7-b534-47f6-acc5-d209e81f060e",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "9a51281b-8cc4-46e5-ae22-43bd636a9acb",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "2ca50521-09b0-45e2-98bb-796a572b3a2c",
"db_currency_id": "ddf210dc-821e-49bc-8b08-9e15ccc23c42",
"db_language_id": "4644fadb-3a44-4216-a062-1f5f52b129df",
"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-12-02T04:49:02.9382969+00:00"
},
"modified_dateutc": "2026-12-02T04:49:02.9382969+00:00"
},
"marketing_segment_id": "4f93337b-86e6-4223-af8e-8175a198a965",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "cb454284-e99d-419c-b52c-580757b11ee4",
"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": "de3e69f4-e11e-4be5-a164-22b5fdf90566",
"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": "1b246b40-492f-4030-95d5-d148ebfc147a",
"db_country_code": "sample string 28",
"feelist_id": "aae409d0-2448-4cc4-9348-4b7613dc03bb",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "46da9363-ab36-42b8-ad0d-d8c5fc3e4808",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "776c3617-8d13-4ddb-8201-789cf1ac0316",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-12-02T04:49:02.9382969+00:00",
"db_currency_id": "062a4462-3ee0-42e9-8226-09df2c4b0a80",
"db_currency_code": "sample string 10"
},
"company_type_id": "2eb8e942-1ca0-4025-808a-87b9951bed23",
"company_type_name": "sample string 32",
"company_type": {
"id": "5d63fa1f-1495-4d02-a05c-82e7565c0a25",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "e2f9e73a-2bc8-4661-82b5-50e67beb9e81",
"sales_organization_code": "sample string 5"
},
"db_language_id": "7a673053-5d46-4084-ba2d-7bae50202fa4",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "ae882c86-2def-4931-a2d7-80a94ae88e39",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "882e78d8-e5e5-42a7-8c02-135b27b84cb6",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "dd6004f3-512a-4742-aeef-7cd87f8592e3",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-12-02T04:49:02.9382969+00:00"
},
"company_sector_id": "f8096495-5f98-4f36-a1a6-329d75ab90f4",
"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": "1435f3b9-e36a-44b7-a7b5-196bc7d33ef4",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "e9fb2b7f-3f66-40bb-ae1a-08cdb6ede614",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "83cb3138-9f08-4a7e-b2aa-bda67ebd8e2a",
"account_manager_user_code": "sample string 56",
"company_status_id": "3d5937b6-9b63-44d8-b5a5-a605ca2a8e28",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-12-02T04:49:02.9382969+00:00",
"id2": 60
},
"db_language_id": "b895e259-2170-4d07-a953-f2e45c1e1e27",
"db_language_code": "sample string 7",
"db_title_id": "a4c47eec-8f27-4482-8950-a39c3d0dcf7d",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-12-02T04:49:02.9382969+00:00",
"create_date": "2026-12-02T04:49:02.9382969+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-12-02T04:49:02.9382969+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.