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": "f5d22913-33f3-48ad-8a35-2d557a6e9baa",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "25b968d7-cb7a-4c07-b4ad-de6d5d3adee6",
"company_code": "sample string 5",
"company": {
"id": "19b9c649-9078-4026-aa61-874f87c33fad",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2025-12-23T20:46:30.7437191+00:00",
"sales_territory_id": "efd59dc6-b519-46dd-a89d-4e2ba2524a26",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "f526decd-cad2-4abb-b8e4-09367a80c889",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "cb002f05-6ac2-4d02-a94f-f86314a6143f",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "7c628b13-8d7a-4bf2-bbf4-e9f8216fd751",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "05026c71-ee46-4f71-b586-478608d50a94",
"db_currency_id": "58dfce82-1c1c-420f-ac66-712c7367771e",
"db_language_id": "077c2913-50ee-4926-aff7-234160ebc3b2",
"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-23T20:46:30.7437191+00:00"
},
"modified_dateutc": "2025-12-23T20:46:30.7437191+00:00"
},
"marketing_segment_id": "1e0d9bd4-ca26-4d0d-95dc-2aa2e0cc14ea",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "959facbd-b7a8-4bd3-bd98-25d85d071fb0",
"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": "b607eb64-9bb8-4b56-aac9-f993ba55a08d",
"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": "df3e27b1-7f13-4ee8-893e-06e1e2126831",
"db_country_code": "sample string 28",
"feelist_id": "f14a3a0a-3d86-49be-9b36-637bd2cc092e",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "4b9dbb02-287b-498b-bf9e-b3ae0e106227",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "30a7ab13-acba-4ea1-9175-b174c93fd5b9",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2025-12-23T20:46:30.7437191+00:00",
"db_currency_id": "8555fa3d-ddd6-4ba8-9558-3850d112de8d",
"db_currency_code": "sample string 10"
},
"company_type_id": "e527822e-c4c9-4a2d-be79-0d97ed4388df",
"company_type_name": "sample string 32",
"company_type": {
"id": "3e8e969e-e2b0-4027-8d23-e0c5b0f5d481",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "70dbb0bc-261d-4aa7-9c34-5e4b127527f5",
"sales_organization_code": "sample string 5"
},
"db_language_id": "ee7d5a9d-4b3f-4a1d-beeb-fbefdb057cea",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "e7681116-0aae-468b-94e2-033336103003",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "282c42e8-8bd1-4e25-a5a6-5e6c61f0d416",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "070c20b2-243d-4bba-a3fc-581f84bca677",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2025-12-23T20:46:30.7437191+00:00"
},
"company_sector_id": "bd0e2cf7-61a3-434d-a13e-5084d2a7fa66",
"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": "473036b0-35df-4eba-ab2a-d827060867e5",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "0319c482-a328-4a23-bb72-08449bbcae5a",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "0116ba7c-8a64-4e9c-b935-4990047e56bd",
"account_manager_user_code": "sample string 56",
"company_status_id": "6d082d83-ba93-4172-b4fc-45bdf9b73dae",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2025-12-23T20:46:30.7437191+00:00",
"id2": 60
},
"db_language_id": "1cb93614-1705-43cb-a821-e985cb4a35b9",
"db_language_code": "sample string 7",
"db_title_id": "4ac4f99c-a004-4304-9473-012459afd4f0",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2025-12-23T20:46:30.7437191+00:00",
"create_date": "2025-12-23T20:46:30.7437191+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-23T20:46:30.7437191+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.