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": "9c55a1af-b916-4b2d-b0b0-9e089e3f6fe7",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "f823361d-b07e-4588-8361-eddfe97bf353",
"company_code": "sample string 5",
"company": {
"id": "518b5281-683d-4643-956e-996af8ceb728",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2025-11-29T02:30:35.6817373+00:00",
"sales_territory_id": "750ec947-1cbd-42cc-8c9a-77790f1cd3ae",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "af7548d2-0026-4be0-9bb8-a75a2b0ceee1",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "adfa2150-ec10-45dd-979c-fd4c19d6a183",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "76e6fd3e-d828-4bc4-a8b7-9ac96900d82c",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "64d5cafd-74e7-4e0b-a58e-ef7d3b88b61a",
"db_currency_id": "63854037-4df1-4f35-8ff3-ce7086890d1c",
"db_language_id": "4280b4a5-2d2b-49b4-85c8-bf6d94086ba5",
"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-11-29T02:30:35.6817373+00:00"
},
"modified_dateutc": "2025-11-29T02:30:35.6817373+00:00"
},
"marketing_segment_id": "42c0a82e-b614-4557-bfd5-7ccbd4f404ce",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "868a961d-cbcf-4f5b-b354-615c482e843a",
"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": "bf113143-011e-4166-ade9-a29443d9953d",
"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": "61011f7d-2b98-4468-afca-e6c966479804",
"db_country_code": "sample string 28",
"feelist_id": "50f3f20a-19ce-4b3a-a138-4d8dec88fa16",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "85b4674b-6b02-4fd2-8e4e-c52b5b69a9cb",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "33f3b473-3771-4e67-b531-8773ca02637e",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2025-11-29T02:30:35.6817373+00:00",
"db_currency_id": "293c82ed-eff9-4b80-ba02-ece60944311c",
"db_currency_code": "sample string 10"
},
"company_type_id": "5817dfc5-36ed-4a88-bf2e-aecda1083c0d",
"company_type_name": "sample string 32",
"company_type": {
"id": "304f6d62-a229-4192-bdfa-9167c9308d14",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "d34c075f-7cf6-462e-a640-0bc7f9bc35c8",
"sales_organization_code": "sample string 5"
},
"db_language_id": "919d3417-9f7d-469f-bff8-b396ee2f417b",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "2e448ae8-8d09-464d-bd9e-83e55d2d75b6",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "36c6192e-5e1b-405c-9e5e-8b5d10a00e9d",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "1f9d39e0-e037-4472-9a05-b04d7e49592e",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2025-11-29T02:30:35.6817373+00:00"
},
"company_sector_id": "40e1b6a3-407a-4c2d-a64a-8db564185947",
"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": "8f4767f4-004f-4870-b591-d8d689f73648",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "86788a17-8d3f-4813-afd5-160bc9561707",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "f8d45676-f8ac-4a2e-878b-cb812e45dc7f",
"account_manager_user_code": "sample string 56",
"company_status_id": "10cd2a5d-bf74-4238-81f9-e6c39dfa3c73",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2025-11-29T02:30:35.6817373+00:00",
"id2": 60
},
"db_language_id": "01d1b88b-4d7a-456c-8f62-21cf8005376b",
"db_language_code": "sample string 7",
"db_title_id": "4c142920-3496-4a3d-ad61-e3848ddf1af1",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2025-11-29T02:30:35.6817373+00:00",
"create_date": "2025-11-29T02:30:35.6817373+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-11-29T02:30:35.6817373+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.