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": "fd376113-7206-41a6-a97f-18a362338ba7",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "5d0a55af-a4fb-4653-b51e-95c244cfefcf",
"company_code": "sample string 5",
"company": {
"id": "1ab4c5bc-d849-4add-8f6f-c8484c447159",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-05-14T03:41:29.9588482+00:00",
"sales_territory_id": "604abe6d-cc0b-4ee4-8b2f-6fb381affaa9",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "652a3308-218d-49e3-8cb9-37658904ecdf",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "fcac5b1d-009b-46fa-893c-cdaa58c3fc1b",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "6b33745f-cc4a-4a25-ac0c-dd9e29bdbb81",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "2bc83e54-af3d-4e3c-9377-e04a537ce5f6",
"db_currency_id": "1592f9a0-9140-465f-8dae-01cdb6b0faf7",
"db_language_id": "e9c7ad13-6016-4269-b4d4-bacb11713106",
"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-05-14T03:41:29.9588482+00:00"
},
"modified_dateutc": "2026-05-14T03:41:29.9588482+00:00"
},
"marketing_segment_id": "9580165f-5c2c-4647-8fb2-9678e2f7703b",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "e33e1f42-3d9c-48b6-8bed-4ddbce21292e",
"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": "3e137bae-50dd-421e-9a16-8eeb02da165b",
"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": "58299123-9c7e-438e-a9c0-368b84cdf6cf",
"db_country_code": "sample string 28",
"feelist_id": "41cb1d83-1b38-4d97-bf0e-eb261baf1936",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "bf56cfdd-521e-423f-8dc1-25836b02bb79",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "4e166f49-f5e5-4b2b-b402-bfb487c46310",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-05-14T03:41:29.9588482+00:00",
"db_currency_id": "4d4904f8-f329-4aa8-b63c-c13fcdf95ffe",
"db_currency_code": "sample string 10"
},
"company_type_id": "3fddcb95-5f27-4b6c-9ce7-bb2f53309066",
"company_type_name": "sample string 32",
"company_type": {
"id": "47812398-9e2b-40ef-b60b-81ffc1cb81c9",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "acf6b532-9f9b-495c-812a-d869ef91b19d",
"sales_organization_code": "sample string 5"
},
"db_language_id": "5fb5b50d-9efc-43a2-bff7-579dacf9e8ee",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "ecb91e96-ad10-41ed-825a-78a4316e2771",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "af7314a2-5941-4e07-823e-78624d17f73a",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "abef5754-9115-4cc1-9de4-dd3ffcb74f99",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-05-14T03:41:29.9588482+00:00"
},
"company_sector_id": "347cc42d-67d4-4a2a-8a03-58d203762d56",
"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": "a967fac3-0ace-4844-95ca-2526d3f79951",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "0da70a37-76f8-4359-9794-6929a769a280",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "25f23deb-7535-4dd7-8716-250ba42dda4b",
"account_manager_user_code": "sample string 56",
"company_status_id": "79511220-8516-42c7-941b-9d1f2822c8af",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-05-14T03:41:29.9588482+00:00",
"id2": 60
},
"db_language_id": "6e653a4e-823c-4bb5-b8aa-ad92cf0930a6",
"db_language_code": "sample string 7",
"db_title_id": "d31fd74d-e97f-4049-89a7-1500567fcef0",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-05-14T03:41:29.9588482+00:00",
"create_date": "2026-05-14T03:41:29.9588482+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-05-14T03:41:29.9588482+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.