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": "9f767a22-3544-4431-b615-1b99942397f4",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "f9dca481-a4a5-4ca1-9055-373e0eb3dbab",
"company_code": "sample string 5",
"company": {
"id": "5d985030-ae6c-45b7-8df4-56ca5477cb15",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-06-30T14:37:53.0882108+00:00",
"sales_territory_id": "426dd579-4588-4f37-b007-8b70bd240333",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "86972388-eac8-47b3-b542-ee2162a511eb",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "6bd0685f-3664-4964-9b2c-6dc8f700d429",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "ebc58683-0b19-4fff-b78b-ca640a7c4913",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "fe680496-2209-41f4-987d-2a90e1e54510",
"db_currency_id": "ee3b6b34-1428-4d25-81d3-25647e23e503",
"db_language_id": "2a703aea-f4ba-4613-a019-b474dbb5f731",
"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-06-30T14:37:53.0882108+00:00"
},
"modified_dateutc": "2026-06-30T14:37:53.0882108+00:00"
},
"marketing_segment_id": "98de8f57-9705-4324-8f70-00fb1e0b7203",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "b451b2bb-cbb5-4db8-be6e-0b811ece65df",
"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": "9e55f6bf-07de-4a66-a770-38b41d2c4324",
"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": "3c925d1a-771e-434e-942d-c0f26ec74bf5",
"db_country_code": "sample string 28",
"feelist_id": "d8ae9680-067e-42f3-8d23-95408a8fcb0f",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "e8b990bf-edd5-4e37-9a31-5aa2bb3b6dd7",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "934bb289-f14b-48b5-939c-d35c55b77a18",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-06-30T14:37:53.0882108+00:00",
"db_currency_id": "5bc5a497-f9c2-4f78-b866-cd09aaa45dac",
"db_currency_code": "sample string 10"
},
"company_type_id": "4fc4edc4-f39a-4eb0-b49a-c01922791a89",
"company_type_name": "sample string 32",
"company_type": {
"id": "cee3b263-f136-4b59-9c3a-73d98a6ed06a",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "9e896405-f1e6-40c6-b8a2-b6a6d9c07199",
"sales_organization_code": "sample string 5"
},
"db_language_id": "d6d20b18-8d68-4e56-a377-c4cef79b853a",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "e23a483f-4c6f-43c0-a6f7-e66f59a6e0f6",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "eb6d4410-57c7-4cf0-8679-d91440103fbf",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "69a6418a-65e4-4cd3-b61c-8b2cb1bb7edb",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-06-30T14:37:53.0882108+00:00"
},
"company_sector_id": "6e8055af-2471-4257-9d86-e9af443317ab",
"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": "d19dacd0-a505-4376-abc2-e2d28f751884",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "6d36f11f-78a8-46cf-8bf3-c5ea79c61140",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "f245acb0-69e1-437f-b6a8-e8787c7b210b",
"account_manager_user_code": "sample string 56",
"company_status_id": "7d75ce04-a11e-47f3-ad0f-150a579b7feb",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-06-30T14:37:53.0882108+00:00",
"id2": 60
},
"db_language_id": "7bc1a982-1a0d-45de-80fa-140e712af755",
"db_language_code": "sample string 7",
"db_title_id": "af690ba8-b1d8-419b-8a24-c8dd93e06bd9",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-06-30T14:37:53.0882108+00:00",
"create_date": "2026-06-30T14:37:53.0882108+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-06-30T14:37:53.0882108+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.