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": "88e4ab93-430f-4dec-aa2a-60bca51419c2",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "096862a7-fb4e-4ceb-a5cf-5e065722585d",
"company_code": "sample string 5",
"company": {
"id": "c93e0e9b-6cda-474b-8480-044121bda452",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-10-29T04:15:06.2171394+00:00",
"sales_territory_id": "c8cd70f9-aa5b-45f6-a34f-654846d2ee7b",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "dc3904b1-5d73-4df8-a9fb-eb134cecb2a4",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "afcc9f25-808e-45e2-9d1e-42e8a85c343b",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "29c5f1bc-0235-431f-b846-c8a62dcfda60",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "bdfca477-8595-4f47-86e2-c08b59810c95",
"db_currency_id": "d81b2d14-21c2-47dd-a7f5-543a3f352b40",
"db_language_id": "00670cf6-61c8-4d39-ae1a-f280ffb02535",
"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-10-29T04:15:06.2327666+00:00"
},
"modified_dateutc": "2026-10-29T04:15:06.2327666+00:00"
},
"marketing_segment_id": "87bd55a6-aa22-4380-b395-178adecaf3db",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "6482a270-dbdd-4e08-8bef-31d9e0870ab6",
"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": "e8731400-abe1-49aa-959e-268689f32c18",
"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": "ee421b81-6353-4be9-aad0-2ed8493dc8a6",
"db_country_code": "sample string 28",
"feelist_id": "0ba63838-0fb3-452f-9c23-0b9b1fbfdd28",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "7b7ecc02-b7fc-4a94-94c0-c875d5a3175b",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "42e14a0d-befa-40ee-bec9-3990637f1cf2",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-10-29T04:15:06.2327666+00:00",
"db_currency_id": "5a914101-6f9c-44d1-94e6-891336c9f8e1",
"db_currency_code": "sample string 10"
},
"company_type_id": "1837dfb9-9e0c-49e9-acbe-72c32814aeea",
"company_type_name": "sample string 32",
"company_type": {
"id": "1dda1e48-e29d-420b-911e-fac4f1d16f91",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "b0702aac-946a-456d-bd47-767629921355",
"sales_organization_code": "sample string 5"
},
"db_language_id": "8613574b-cf23-4805-afac-47564e4af8d8",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "bcf66b95-3c7d-4eab-826f-9d2ba13c7241",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "7150eabe-c8cc-403f-9838-a30b390b9e61",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "09fe68a9-4c03-4fcb-9236-ff88d3b4582a",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-10-29T04:15:06.2327666+00:00"
},
"company_sector_id": "b7265228-1cf4-4e3f-9572-0781646a669b",
"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": "675b9365-7d25-4d9b-a99e-8a02576c8d77",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "b807516b-d84c-44e0-b530-d2a4c484d0f3",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "5ffd8c1e-434c-4ebd-8e15-c3f8806bd66d",
"account_manager_user_code": "sample string 56",
"company_status_id": "7478993f-42c3-4868-a7ce-695efc2103d8",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-10-29T04:15:06.2327666+00:00",
"id2": 60
},
"db_language_id": "cdee472a-9bd8-420c-8ea7-d4fa830bdcf5",
"db_language_code": "sample string 7",
"db_title_id": "d0a04f32-94ca-43af-9ce1-5213c6ccd9cd",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-10-29T04:15:06.2327666+00:00",
"create_date": "2026-10-29T04:15:06.2327666+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-10-29T04:15:06.2327666+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.