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": "35d5a0b6-fe03-4965-8d6c-7f976e9af588",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "38584db1-08da-485c-8aeb-10a9d5f77b8d",
"company_code": "sample string 5",
"company": {
"id": "0bf5b66e-fcae-4ac6-908c-b2608b433a5f",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-10-31T21:19:14.3914646+00:00",
"sales_territory_id": "dd9b64e3-2d47-4e25-95fa-5b6bb6836583",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "8a56ebab-9997-4515-9877-4ded4309d457",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "5639930e-40f6-4145-85f5-1b91c1863df2",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "b2d8a8fb-fe5a-4cd7-96cc-4d6ef5480d37",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "78377cca-910a-4bf3-a89f-9eea7f7d57fa",
"db_currency_id": "133dc1ba-5fca-4a65-b999-7245c6b6399f",
"db_language_id": "db125a5b-4b4a-4f47-ab0c-d0b5a522b6b1",
"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-31T21:19:14.3914646+00:00"
},
"modified_dateutc": "2026-10-31T21:19:14.3914646+00:00"
},
"marketing_segment_id": "e2e881f1-7f3d-43ee-b0b4-7ef887dc601e",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "74b37be7-4ae2-4ac7-a759-05eaf8e8fcbe",
"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": "9d54d4db-7fcc-40f8-bd4c-7a6cdef49711",
"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": "5b9c1b0d-a9fc-4d11-ab7e-6d1c5af111d7",
"db_country_code": "sample string 28",
"feelist_id": "9176df02-6438-46d7-910f-67af9b19d6f8",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "4ab16b45-8873-45c9-8d99-d556b34a9048",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "167937b1-9725-4f1e-9ea3-54d45a25614a",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-10-31T21:19:14.3914646+00:00",
"db_currency_id": "6568870a-5ee9-4d20-be35-9feeb28655cd",
"db_currency_code": "sample string 10"
},
"company_type_id": "257d7676-2547-4de5-b2ef-c23571ebcf5f",
"company_type_name": "sample string 32",
"company_type": {
"id": "7bb26486-967c-4491-8242-694e9874575c",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "ea0c2b0a-4612-4fb6-889a-b2dfebddeffd",
"sales_organization_code": "sample string 5"
},
"db_language_id": "47f9cb22-e949-4b1f-8e71-d31ab1b15c77",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "9b408a3c-5ef9-4f52-a37f-17c0542362ce",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "c08f5f73-f4f6-44ab-ae90-2f9fa00766a0",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "26315fd8-6ea0-43f0-886c-444bcdd1816b",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-10-31T21:19:14.3914646+00:00"
},
"company_sector_id": "a05ff178-d502-4d9b-8aa6-811812ba5aef",
"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": "a8edc29d-b1ae-457d-a059-06e9c4fddd14",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "22fc107f-aa01-43f5-b4ad-1c0ad7075ae0",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "b7e0e8b9-9b74-4ae2-aa1a-091c173e31bf",
"account_manager_user_code": "sample string 56",
"company_status_id": "343a06b9-fb8b-4c70-a71a-e723e8de87a4",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-10-31T21:19:14.3914646+00:00",
"id2": 60
},
"db_language_id": "e4f8f800-3fe6-49e5-9199-bb5908f51cec",
"db_language_code": "sample string 7",
"db_title_id": "2cdf0b6a-7666-4911-a223-81135a7654de",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-10-31T21:19:14.3914646+00:00",
"create_date": "2026-10-31T21:19:14.3914646+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-31T21:19:14.3914646+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.