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": "90e7fcc6-4938-4831-b6b0-f0369eb85c15",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "0640edc1-e282-4f67-bfe1-6824705b70aa",
"company_code": "sample string 5",
"company": {
"id": "93e62c14-330e-4bc5-b4c5-46541ef70b93",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-09-16T01:16:37.5210384+00:00",
"sales_territory_id": "840db2f9-60ea-424b-9289-11bd61bec170",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "632b7b7e-3986-43d7-b9f6-3382c5aa9842",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "5cf2d78d-8943-4ad8-9398-8ec77e6aee38",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "14fc5f5d-bdc1-424e-a9f8-c1900d3c5960",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "e2095050-0008-479e-b551-fd32dbfb51e4",
"db_currency_id": "1ab1b089-65e7-4b8c-bc1f-dde1320434fd",
"db_language_id": "ae8fc3f6-35c5-4c0e-bfa7-3ec0626cd496",
"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-09-16T01:16:37.5210384+00:00"
},
"modified_dateutc": "2026-09-16T01:16:37.5210384+00:00"
},
"marketing_segment_id": "98a3d411-4b0e-48c6-ba24-f6e313114f38",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "9591c1fd-82e7-4671-b0f1-b1cef54a4b97",
"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": "ed61a0f0-6aec-429a-8a92-af91b2ed9098",
"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": "e5e36552-6e2d-45e1-8c90-5f7185d772ce",
"db_country_code": "sample string 28",
"feelist_id": "9fb92adc-1703-4652-b761-772181e53b1a",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "807d149f-2bdf-4f29-833f-994fbc012ed4",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "0eb447aa-6b37-4334-bbcc-50eb6dd9ef3e",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-09-16T01:16:37.5210384+00:00",
"db_currency_id": "a3bd8e56-685c-4413-854b-53d32b6108b3",
"db_currency_code": "sample string 10"
},
"company_type_id": "1ab81b01-deff-4a54-90eb-bba7fbfb331d",
"company_type_name": "sample string 32",
"company_type": {
"id": "5226291b-3b00-4d9c-93d0-482620a83dc1",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "768179a5-e17a-4a20-b3e1-cfe52472abe1",
"sales_organization_code": "sample string 5"
},
"db_language_id": "346a4b99-f9e9-4649-b412-dc151cd8d370",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "b632e05a-770a-4e36-8cf4-b1cfca1a24d1",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "65102280-7220-49a4-ac63-58972dacbc58",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "0a206bf0-c0bb-4242-b8ce-ea0c1bcfc763",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-09-16T01:16:37.5210384+00:00"
},
"company_sector_id": "13777aa0-87b6-4a7f-9042-9b28eb3316dc",
"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": "f23218dd-a725-496a-820d-380861b8f7ac",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "d4fe4995-e6f2-4f4b-842a-fa471b763442",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "90d735fc-9a4a-4a90-902a-8f377fa5175c",
"account_manager_user_code": "sample string 56",
"company_status_id": "00b00c5d-117b-48d0-b9c4-aef597300562",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-09-16T01:16:37.5210384+00:00",
"id2": 60
},
"db_language_id": "53153b00-2b00-4c4e-bb90-a8f2f4128855",
"db_language_code": "sample string 7",
"db_title_id": "dd6781fe-8433-4ed3-a88d-67355bf8d2c3",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-09-16T01:16:37.5210384+00:00",
"create_date": "2026-09-16T01:16:37.5210384+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-09-16T01:16:37.5210384+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.