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": "c4705142-e357-478d-aa1d-3193e84bf3c7",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "8cbc3791-c874-407e-9672-719cd1a47a2c",
"company_code": "sample string 5",
"company": {
"id": "f3d7e82a-a4f4-4ac2-8005-671347c88304",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-02-07T11:21:38.357682+00:00",
"sales_territory_id": "3feb511c-49f1-42b6-8304-34af30112944",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "3ceb07f8-f94c-4dea-a6dc-bea859995c46",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "8593612b-4b29-4d5a-beed-58759421ef48",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "10532de5-1c24-4aeb-9bd2-b12bcf80e71a",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "8a13e0f3-3830-436d-b21d-9318d9eca199",
"db_currency_id": "5e6a690b-b2e9-43fd-bfd8-fa04ba7c28aa",
"db_language_id": "29b17d69-cc15-4d3c-897b-e4ebbda52d59",
"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-02-07T11:21:38.357682+00:00"
},
"modified_dateutc": "2026-02-07T11:21:38.357682+00:00"
},
"marketing_segment_id": "3a5191ac-a644-4c9e-9c23-53fef103e2b5",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "15e6746b-bba5-4d64-8d1c-b8a9e8bd0d81",
"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": "41ffc891-431c-410a-ba60-0b9d5d98388a",
"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": "5615a57b-e157-44ae-b85c-aa22b4100fc7",
"db_country_code": "sample string 28",
"feelist_id": "4de2274f-c0a3-41f6-95fe-58cdcbba9417",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "38bec538-8bd6-4852-8187-276955a16884",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "799a756c-351a-45aa-9f84-000541b6f130",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-02-07T11:21:38.357682+00:00",
"db_currency_id": "eea2c67f-4e67-447f-9908-9c47ece1509c",
"db_currency_code": "sample string 10"
},
"company_type_id": "dcf424e6-170c-4778-8a45-7249356254fe",
"company_type_name": "sample string 32",
"company_type": {
"id": "c200a77a-a682-45b3-9610-b04b55241515",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "d1288042-c1e3-470f-8f16-94660adb6cd9",
"sales_organization_code": "sample string 5"
},
"db_language_id": "743093c4-51a0-4dc8-9a3b-2627e799e0c4",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "87163c36-1698-4ee3-a19c-a471564cf0e9",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "414520d6-6fb2-49f7-a84d-efa5f0a2df25",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "9bd5c153-e3ff-4732-9646-0b5cf68ef951",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-02-07T11:21:38.357682+00:00"
},
"company_sector_id": "ae533ba5-39f3-4e15-9cac-134e3a78f2f6",
"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": "7d46b8d7-9a20-4447-a358-80cdc9dc4ff2",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "b60acda9-587c-4cb9-a719-d59b45352630",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "3c77e752-0aed-4c97-a704-f9916fe995ac",
"account_manager_user_code": "sample string 56",
"company_status_id": "686b512c-d7e9-4d26-97da-b870cef7bb55",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-02-07T11:21:38.357682+00:00",
"id2": 60
},
"db_language_id": "79cf0862-bea5-47cd-a453-43172f24e6e9",
"db_language_code": "sample string 7",
"db_title_id": "573b8e6d-c850-49e1-858b-5ab1ee47e492",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-02-07T11:21:38.357682+00:00",
"create_date": "2026-02-07T11:21:38.357682+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-02-07T11:21:38.357682+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.