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": "53a1a437-ea0f-44e4-928e-4bb91391fc31",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "33be5062-3b4e-46eb-8000-405afdbb5124",
"company_code": "sample string 5",
"company": {
"id": "1a48b447-8235-46fe-9049-4fe6f9af0486",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-08-01T09:11:43.705216+00:00",
"sales_territory_id": "930c22df-4bbc-42d4-857a-5b93235a0508",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "d06fa843-1bf6-46aa-9372-a76c3371835d",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "65e0a7c0-9bb7-4bf7-aef6-dd54f2b484c3",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "b88d9717-3774-4254-877f-1a9be12e3d2f",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "889b97c9-1997-4e88-9915-77290ef87204",
"db_currency_id": "b7dd354a-9d0e-4b37-9bfe-9dd2ff1f8c4e",
"db_language_id": "a8df531f-12e3-442d-bb5a-93d958f4c9ff",
"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-08-01T09:11:43.705216+00:00"
},
"modified_dateutc": "2026-08-01T09:11:43.705216+00:00"
},
"marketing_segment_id": "873d62e3-3e4b-4914-8b8c-0438e08c1d12",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "1b7a71c5-63cc-4e98-9fdb-a1cda0eb0b74",
"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": "d13cfc73-1373-43b6-9554-0550f89e776d",
"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": "1e2f0fc6-2ad1-4144-8844-a478d5d651e0",
"db_country_code": "sample string 28",
"feelist_id": "42c5f98e-4a9a-4a04-9d26-691f5deae7fc",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "b678b10a-807d-418e-8d83-007e1d446daf",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "990f1c94-7603-413a-a306-f70190000552",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-08-01T09:11:43.705216+00:00",
"db_currency_id": "f5d0ba9b-dd12-4732-bc43-25da47f5f61c",
"db_currency_code": "sample string 10"
},
"company_type_id": "c9ca0b9f-328a-4be2-84cd-c7ee989ae182",
"company_type_name": "sample string 32",
"company_type": {
"id": "cee811d1-f6f8-494e-beca-3d3c4162a8b3",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2fa48cd8-4f84-4ed0-bf4c-2df377a14258",
"sales_organization_code": "sample string 5"
},
"db_language_id": "7b44e760-0ce9-4f6a-a37c-be0f843c0ea1",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "dc22e2c2-3f58-4ff5-a9af-07e2970e691a",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "fcc79ec7-7b0c-46a5-880f-6263491a6e11",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "0ba83675-fc68-4125-8592-6627a5415cf3",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-08-01T09:11:43.705216+00:00"
},
"company_sector_id": "405b7577-c3ee-4428-9cac-2cd5841c9082",
"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": "452121b6-2d3a-4f1b-b3a0-9efd931a429c",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "99304fbf-fa48-470d-9883-c247f509621b",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "2c24209c-4135-4f40-bcb2-23db0207b117",
"account_manager_user_code": "sample string 56",
"company_status_id": "4f091e34-32b9-4a06-a2fa-4c5870bd0262",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-08-01T09:11:43.705216+00:00",
"id2": 60
},
"db_language_id": "ebfeaaec-b886-4260-9e0b-da54a00fd72a",
"db_language_code": "sample string 7",
"db_title_id": "1b848cc8-8d8e-409a-85a6-8e7a22a6a7b0",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-08-01T09:11:43.705216+00:00",
"create_date": "2026-08-01T09:11:43.705216+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-08-01T09:11:43.705216+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.