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": "27148a10-65b7-4d1c-ad96-6652df225dca",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "b6ffe3e9-76e1-4d5f-8c57-d67647915493",
"company_code": "sample string 5",
"company": {
"id": "cea4c276-d431-4c4d-8314-35a63c7becb8",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-06-02T10:59:55.9915193+00:00",
"sales_territory_id": "af6c49e2-a35c-42a3-a001-eccb3586ec0d",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "ee9e7193-3d8e-474c-983b-6cf587e38d08",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2397e4b3-8f09-418a-8542-537810e4e267",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "d47dce74-4e6e-4215-a8dc-71b2b1eceed3",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "f0fffe2d-655d-4d5e-9bc2-c8e384ed256b",
"db_currency_id": "0e9ce091-ff62-45ad-97a2-0ba988a476a3",
"db_language_id": "2465a7f2-9d9a-485d-b1a5-0d98d31aa370",
"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-02T10:59:55.9915193+00:00"
},
"modified_dateutc": "2026-06-02T10:59:55.9915193+00:00"
},
"marketing_segment_id": "a91f2be8-28da-4b26-bc12-b04f6099a299",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "303078f2-c212-4c40-afa9-79f91a2675a0",
"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": "6877f803-5509-4a6d-b82b-1685ef357146",
"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": "7def9a43-67fd-4cd6-9127-5062a89f756b",
"db_country_code": "sample string 28",
"feelist_id": "654e22a6-1589-4bc4-a89c-176913a2765e",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "2fc77201-fe01-4562-b04f-da72bf7ff3d0",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "e8696b0a-5f73-44d7-9315-cfbcfe87041e",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-06-02T10:59:55.9915193+00:00",
"db_currency_id": "5b2a5f2c-b872-49e2-a382-3bb8b292aabb",
"db_currency_code": "sample string 10"
},
"company_type_id": "9eea07d8-2b01-4892-8132-ffd3ba515893",
"company_type_name": "sample string 32",
"company_type": {
"id": "e597a31f-dfaa-45f7-814c-7e6e915b8263",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "a542e489-18c1-43e4-8f28-17e61618d2c3",
"sales_organization_code": "sample string 5"
},
"db_language_id": "f6d0ff3b-4974-4840-b73f-5673234b8b04",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "8c9b4751-8ec6-438f-9ab0-c90a6892a4ae",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "b1347a0d-eeed-4fbc-a1af-d242587ec5e4",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "735697ad-0de9-48f7-a6d2-e5b3cf10e3b9",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-06-02T10:59:55.9915193+00:00"
},
"company_sector_id": "ee21091c-de82-4dfa-882e-45a317235754",
"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": "5b333942-3cde-4e12-a305-e67ad88390ac",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "bfa9d6ba-2005-4cfd-8b91-87e028e314f8",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "3102aa3f-2e79-4f60-b397-973757b65248",
"account_manager_user_code": "sample string 56",
"company_status_id": "4d4ce966-3f1c-4719-9337-d71b46068f56",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-06-02T10:59:55.9915193+00:00",
"id2": 60
},
"db_language_id": "4e9875b2-7dda-40e2-8c52-74e833b3dcd4",
"db_language_code": "sample string 7",
"db_title_id": "334907e1-c9b0-4e96-acd9-725446a6f4b3",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-06-02T10:59:55.9915193+00:00",
"create_date": "2026-06-02T10:59:55.9915193+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-02T10:59:55.9915193+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.