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": "c4ebea71-6ad4-4630-88eb-0c35d854d376",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "9d361c21-a3c8-4f3c-a495-393b6b45f7c4",
"company_code": "sample string 5",
"company": {
"id": "159a32a8-3126-456d-9b71-6a68cb52f61b",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-08-10T10:30:43.4682702+00:00",
"sales_territory_id": "03ac8cfb-2504-4e2f-ba43-2ecb8c21b27a",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "7c4a2cab-a46d-4340-a686-7814ccf457bf",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "3d6fe8b8-bc73-4d0f-83f2-ca0dee9cc639",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "12501bff-9ac3-40bf-b681-741abc59531a",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "04bf1cb3-eff7-4382-a8d2-e5ebe2b849d0",
"db_currency_id": "83d8f20a-00cf-4824-9256-d6cec1c3b173",
"db_language_id": "b85dc86f-8875-4d1c-ac48-4f2a226255d5",
"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-08-10T10:30:43.4682702+00:00"
},
"modified_dateutc": "2026-08-10T10:30:43.4682702+00:00"
},
"marketing_segment_id": "4d30facf-bef4-4342-9cf3-98ad7a7ff5b5",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "36ab7139-22bc-443b-bf56-1f9e53e87560",
"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": "2cfabdd8-58e8-49ba-b741-ea5a146072c7",
"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": "e1b24dfc-d244-47d8-ab8b-c1b9f8b03fcc",
"db_country_code": "sample string 28",
"feelist_id": "0fd049a3-8cd8-4527-8007-f2651641d191",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "94aba307-5e92-4cd9-8164-bf5d80f522e4",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "f01b9795-9155-4c3c-b52d-1cbe0eea1513",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-08-10T10:30:43.4682702+00:00",
"db_currency_id": "1193380f-147a-44ae-85d4-5d000f2e6dc3",
"db_currency_code": "sample string 10"
},
"company_type_id": "3bf1f3b0-f687-42f8-91b1-777b258ed816",
"company_type_name": "sample string 32",
"company_type": {
"id": "d49225cc-a959-4cc9-9a4f-9b1cd5618bf3",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "a45fe216-485c-4c9e-9856-121a81b097a5",
"sales_organization_code": "sample string 5"
},
"db_language_id": "01a52da9-e0b3-4d1d-9fb6-9f5cd643e609",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "489e2a5f-26a1-44e5-8088-e374fb29929d",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "d3b367a4-ecf6-4e8b-a8f6-79a0c9c1ef0c",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "dc78a67f-625b-4ee4-b998-859435f97fba",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-08-10T10:30:43.4682702+00:00"
},
"company_sector_id": "cb2e94bc-43c3-41c1-9218-5a616972cb96",
"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": "7fdb1f2d-69fd-42f5-b264-3ea7904d844a",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "afe333ce-430e-4997-9315-f6e4bf5d24a3",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "0ee07e25-66bc-473e-b4f6-ad22e7b87751",
"account_manager_user_code": "sample string 56",
"company_status_id": "29e1c1cc-52cc-423a-9a85-dc7fd2501438",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-08-10T10:30:43.4682702+00:00",
"id2": 60
},
"db_language_id": "e4fc454e-d477-4315-b8bf-b8ba36e67957",
"db_language_code": "sample string 7",
"db_title_id": "e91f2724-26fe-495d-b747-2d9e53353811",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-08-10T10:30:43.4682702+00:00",
"create_date": "2026-08-10T10:30:43.4682702+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-08-10T10:30:43.4682702+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.