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": "cee49078-f191-4e52-b4ec-970713c0acab",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "a7250db0-10a8-4285-ae22-1dcb25abfb3f",
"company_code": "sample string 5",
"company": {
"id": "02b52dc6-fe04-48f2-8b72-0f2efe649294",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2025-11-30T21:29:35.465267+00:00",
"sales_territory_id": "550a6b69-44ae-48a6-b1ef-ae1f33c0d31b",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "b2465f71-5f52-47f0-a823-0aefc9122191",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "f030d460-4dde-4ddb-8948-7b79e1116491",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "b724718b-a0e8-41e6-8221-7ed7ba859d18",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "a87dcbd9-4bc7-42e2-8cc0-8cb9dc6e67e1",
"db_currency_id": "5a3f167a-b2c6-49a5-aa9f-e77986cbcb9e",
"db_language_id": "dc90ee3a-5654-4a5a-9708-b259443e64ca",
"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-30T21:29:35.465267+00:00"
},
"modified_dateutc": "2025-11-30T21:29:35.465267+00:00"
},
"marketing_segment_id": "0da29a18-58c5-446c-a4be-da8025bcbecd",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "a977998e-4b6b-4ff0-8431-92feff8170a9",
"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": "7304a906-d4bb-4c9b-a8d5-567e20af8d3f",
"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": "083739a9-68c1-490b-8163-15bf76db696d",
"db_country_code": "sample string 28",
"feelist_id": "3711faa0-97f0-4928-a50a-7181f12ed681",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "bb6ada99-0c4e-475a-80d9-f07da416f0dd",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "34d3d210-d800-4206-8810-40a96b580db3",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2025-11-30T21:29:35.465267+00:00",
"db_currency_id": "70d7b444-04e8-43b0-8151-1eac50c820d0",
"db_currency_code": "sample string 10"
},
"company_type_id": "93bf6559-d031-4882-b95b-7e6917fda93d",
"company_type_name": "sample string 32",
"company_type": {
"id": "cd8d6fdb-f3cb-4cb9-ac96-256178dca283",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "6ef5793b-9358-4f74-aa63-4127feeeae16",
"sales_organization_code": "sample string 5"
},
"db_language_id": "63f8fd04-0fdf-45aa-8079-ac456af3f46c",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "922b4fdb-f0cc-4f33-b087-f6055841f28e",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "290beba4-28b0-458f-8dc2-9b06156a880e",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "5607ca08-2749-4659-985a-7893d2f977bb",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2025-11-30T21:29:35.465267+00:00"
},
"company_sector_id": "a9c06f64-3ba3-4e68-a3ac-3f5675b42cee",
"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": "164b9380-ca3b-4739-8608-bca9fd76ddb1",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "0de3b077-4da8-4448-9982-58679e5bfe34",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "a91bb725-6946-46ad-ac9a-5349fcfdfe69",
"account_manager_user_code": "sample string 56",
"company_status_id": "b97d6b88-6bc5-44cd-a2b6-634b85c76edd",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2025-11-30T21:29:35.465267+00:00",
"id2": 60
},
"db_language_id": "49ee08a0-0764-4629-a923-530631372d88",
"db_language_code": "sample string 7",
"db_title_id": "6c03cffd-3206-4e6c-910f-b3dd921c48d2",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2025-11-30T21:29:35.465267+00:00",
"create_date": "2025-11-30T21:29:35.465267+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-30T21:29:35.465267+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.