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": "0279de88-3cf7-4269-9313-b050530e6cdf",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "86ca15f9-82f5-4382-935a-ff37b127fc85",
"company_code": "sample string 5",
"company": {
"id": "9600e4eb-fc3b-4bdd-a4f2-f70070aab428",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-09-18T19:17:32.3809956+00:00",
"sales_territory_id": "e7986d29-3c2d-479f-8d02-356785564457",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "e54fd261-052a-4f10-bb5c-65908ecdb023",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "e2ea01d5-1481-4ce5-a591-0ae35b3cce1a",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "0b42f1bf-c730-4b43-aba8-682ed76c9064",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "0d628527-8d56-442c-8a93-5fa83ba5ed82",
"db_currency_id": "04fde1e4-3b8a-4f1c-a8d7-cfcdbb6667bc",
"db_language_id": "6fe565ac-008b-45a8-944b-38427cb55c4e",
"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-09-18T19:17:32.3809956+00:00"
},
"modified_dateutc": "2026-09-18T19:17:32.3809956+00:00"
},
"marketing_segment_id": "f25fd5ab-4699-40ce-92e1-bde259f1c6fa",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "1b812504-6a5f-472f-ac61-b2cd0dd2e522",
"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": "cf0fc579-e57a-416b-9b09-2538c9518730",
"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": "22cc3a4d-f746-47ed-b6f4-0face1a2b2f6",
"db_country_code": "sample string 28",
"feelist_id": "ddf9c376-c20b-492e-a3e5-446c3faaae8b",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "7922c459-90d7-4e67-adb7-7ce14ed23286",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "98c58432-a2a8-4f42-a9c0-9b7dc0a53275",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-09-18T19:17:32.3809956+00:00",
"db_currency_id": "faba979c-c49d-467c-b2a6-50101021e3a2",
"db_currency_code": "sample string 10"
},
"company_type_id": "7c6a1a37-d900-4a14-8143-d506be1b65f6",
"company_type_name": "sample string 32",
"company_type": {
"id": "39f5ba8e-9a2e-4154-bf9b-7ab150772727",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "99a8bca1-b822-47b1-ae99-991dd5ed0eaf",
"sales_organization_code": "sample string 5"
},
"db_language_id": "13e7272c-ea62-4eca-b8c2-53d81a1fae31",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "caa509b5-989f-4feb-a22f-98b4af241d30",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "c38a6306-a49c-432b-8535-84459c7e1a73",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "e83bf3d5-466a-4e83-9de9-7afc9e9f451b",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-09-18T19:17:32.3809956+00:00"
},
"company_sector_id": "d313fabc-ac50-4b88-a192-b919c0369b3f",
"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": "c7bcb229-c6f8-45bd-b242-1dc28420a595",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "1ea0bdec-a129-4a86-aad9-ae46f738ee47",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "44dc397d-3e80-4b5e-a1bd-239b26f05969",
"account_manager_user_code": "sample string 56",
"company_status_id": "4ac1c318-d83f-4477-98ed-d174ea3f6153",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-09-18T19:17:32.3809956+00:00",
"id2": 60
},
"db_language_id": "37ddb8dd-1f5c-40ac-8332-ad81fdb684e0",
"db_language_code": "sample string 7",
"db_title_id": "760800bf-2666-49fa-97ef-a9553cee450c",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-09-18T19:17:32.3809956+00:00",
"create_date": "2026-09-18T19:17:32.3809956+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-09-18T19:17:32.3809956+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.