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": "61469638-dc59-4cc4-9250-a825e7c91ffa",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "a8168eed-9f13-4989-b312-9f256d848eb7",
"company_code": "sample string 5",
"company": {
"id": "9e36aea8-1db4-4452-804a-f267938a1e81",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2025-12-08T04:03:02.5112602+00:00",
"sales_territory_id": "7d2efd77-7ce1-46d1-ba5b-6d07f8e62bee",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "b240b9e4-e407-4c51-9e9e-809de2324527",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "fc644cc7-12a4-4be7-9368-69347dbd70be",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "f9397f69-97cb-485a-9dcd-349dd353acd5",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "71d22982-4c88-4b40-8743-2b44c3f4695a",
"db_currency_id": "1d63cf3e-4787-4347-8423-489653656d94",
"db_language_id": "44594252-d994-4e9d-a19b-e4f066d374c3",
"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": "2025-12-08T04:03:02.5112602+00:00"
},
"modified_dateutc": "2025-12-08T04:03:02.5112602+00:00"
},
"marketing_segment_id": "e490010d-7821-4b09-b6e0-6c158dd2264b",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "1cc2a86e-2cb4-466d-8deb-16e831202d7e",
"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": "8118131c-7274-4c99-a844-45f61bfa1f75",
"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": "04af3590-0aa6-4051-8804-07da9e96bacc",
"db_country_code": "sample string 28",
"feelist_id": "58e4e527-5217-4471-b08c-a585baf2bff7",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "0fa589e1-79b7-42fb-8a87-a3853538c36e",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "64183b7c-4e08-4448-9a99-1f9472e0778c",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2025-12-08T04:03:02.5112602+00:00",
"db_currency_id": "72f7e672-408d-4937-b40c-1aa48831d360",
"db_currency_code": "sample string 10"
},
"company_type_id": "8e8d6a8f-fd51-47d5-a4ea-88ed3ff06972",
"company_type_name": "sample string 32",
"company_type": {
"id": "58e1c970-0abc-4ceb-85a0-11008cd4e357",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "66cae19b-7cd2-4936-8a28-1c58a054485a",
"sales_organization_code": "sample string 5"
},
"db_language_id": "ec2810fe-3562-4b43-b622-ff4a51e43600",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "5bdc07a7-e6f0-4a79-adb9-414c6988f1dd",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "c2863f64-8589-4818-92c1-7d08e0fd2d06",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "9e0e15ca-8695-443c-bf2c-fec2bc48f4f1",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2025-12-08T04:03:02.5112602+00:00"
},
"company_sector_id": "bbad6895-d314-4af9-8451-da7da23e9b92",
"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": "a3d91eaf-7e26-4256-8ccd-cffdc24301db",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "f03e936a-c02b-4c16-8724-aaf6863ef73c",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "0affc081-4fa2-4b63-8235-4e65557b4ecf",
"account_manager_user_code": "sample string 56",
"company_status_id": "4afd9035-7638-43de-892a-8cc056679243",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2025-12-08T04:03:02.5112602+00:00",
"id2": 60
},
"db_language_id": "b5020a0d-1346-4a72-a415-7f49d4aeaea8",
"db_language_code": "sample string 7",
"db_title_id": "bfa35fda-84f2-42b0-844a-8fef2cbf5e5c",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2025-12-08T04:03:02.5112602+00:00",
"create_date": "2025-12-08T04:03:02.5112602+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": "2025-12-08T04:03:02.5112602+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.