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": "2b13effa-0f55-4c20-a85c-1dc84358fe61",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "7f0256e5-e96a-4ace-ab6c-bce9952f44c4",
"company_code": "sample string 5",
"company": {
"id": "ba347061-d835-4c3c-8bbf-bb876ed93726",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-07-14T22:00:46.6806546+00:00",
"sales_territory_id": "7f74b219-188c-4e51-be24-e588639af1e3",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "301d7bbd-2093-4ae3-ad7e-05747ff1c36d",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2a1de085-db06-475c-bc7b-d1dc9cf5b3e8",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "ace94dc0-9a5e-4289-a04c-c8d8de67ef71",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "c94276b0-f912-4fe6-a512-f4b5b4e523e3",
"db_currency_id": "c267befd-0ab4-4172-ab9e-dab433d2672c",
"db_language_id": "a2d8e9c4-88a1-4b38-a485-d0ed3957bba4",
"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-07-14T22:00:46.6806546+00:00"
},
"modified_dateutc": "2026-07-14T22:00:46.6806546+00:00"
},
"marketing_segment_id": "4675bfce-edaf-417f-8b57-f8baa99c1b6e",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "cb65efcd-7351-43dc-8c2a-dbea66b3dca4",
"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": "3035b279-abce-4dad-80cd-64bd73022fb3",
"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": "998ed4d1-871c-4d83-81ff-f3d9451f7c55",
"db_country_code": "sample string 28",
"feelist_id": "76d3f79c-731e-4fc1-aaf9-2ee66981598d",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "bef3b13c-6bc4-4e5e-b847-4d78043eae43",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "09b5b783-184e-4a20-a787-6d2de6e09f98",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-07-14T22:00:46.6806546+00:00",
"db_currency_id": "0fddddfc-afac-4f73-87c6-3c8344e38339",
"db_currency_code": "sample string 10"
},
"company_type_id": "2ddf46dd-baa3-4e78-a9f3-21bf01049b09",
"company_type_name": "sample string 32",
"company_type": {
"id": "907437a5-8a0b-4d1b-8f65-60b9e29ca81f",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "9abe119b-ccea-492e-984a-3de1a379da4e",
"sales_organization_code": "sample string 5"
},
"db_language_id": "a406e61f-1eaf-42dd-ab4c-624e7c1fe830",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "7186d0c7-9c55-4d73-94f7-2fafb25d602a",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "dad2ecae-501f-4c7d-a425-81bfd4fef957",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "b3d1ac23-dcd7-4ebd-a758-3185637f6445",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-07-14T22:00:46.6806546+00:00"
},
"company_sector_id": "41ee9ed6-598a-4ed0-80b4-276abb1ea1aa",
"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": "f59c11b2-6326-49a2-9673-21ec6261f9f4",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "4797f221-f3b1-4e36-929c-57beab8a6a0a",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "b65e41cf-7c16-4300-9f77-356019ec2c93",
"account_manager_user_code": "sample string 56",
"company_status_id": "c93cf871-3e3f-445c-b6b4-4112b92106c7",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-07-14T22:00:46.6806546+00:00",
"id2": 60
},
"db_language_id": "a2f6006d-aaa3-4026-afde-35cc0ddd2062",
"db_language_code": "sample string 7",
"db_title_id": "91aa4d5f-51f9-4eb9-829c-a7808a9de9b7",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-07-14T22:00:46.6806546+00:00",
"create_date": "2026-07-14T22:00:46.6806546+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-07-14T22:00:46.6806546+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.