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": "cd9afad5-a2f7-4f7e-b439-08fbab1b501e",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "bb154635-2056-4864-ab92-f189546f8236",
"company_code": "sample string 5",
"company": {
"id": "113e6e64-0c72-4fd3-8047-282aa253cbe1",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-12-04T12:59:33.6815153+00:00",
"sales_territory_id": "714f79d3-1328-471c-a679-4f345c5e1852",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "1f774641-5714-43ce-a66f-95d3b32c68fa",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "8fb6ffb4-245c-4e42-a3ef-3b00070c96b2",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "870217e1-c4e8-4421-a9b0-b26e099e6db3",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "ff8640e9-06b8-4e40-a4a2-502d7b90f2d6",
"db_currency_id": "9fb79543-ba49-4e36-b4c0-7e3445e5971b",
"db_language_id": "f2a146ee-666a-4cef-8685-2b970c1e2835",
"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-12-04T12:59:33.6815153+00:00"
},
"modified_dateutc": "2026-12-04T12:59:33.6815153+00:00"
},
"marketing_segment_id": "3e74f467-84be-4634-8cc9-a145bae7c2ca",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "b7d0ed81-bd2f-48be-8e8a-335d184fcc58",
"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": "16df9c58-91b0-4455-b670-f98af38b0e2b",
"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": "c5be36ad-baf1-4cfc-bb33-23896bd0b66a",
"db_country_code": "sample string 28",
"feelist_id": "794d5a86-2ba8-40f2-9983-ad0130d33549",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "35576f0f-7d46-43d4-a86d-5b870901d6ae",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "bdb4461d-a56f-4a1f-89a9-983a428ef13b",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-12-04T12:59:33.6815153+00:00",
"db_currency_id": "eedf0f5c-3823-4504-8be4-12595085be8b",
"db_currency_code": "sample string 10"
},
"company_type_id": "bc1499fc-9cc8-4055-86ab-80892e78196b",
"company_type_name": "sample string 32",
"company_type": {
"id": "28be22d8-e156-4dd4-9007-5cad2bf4ddb2",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "b4af930b-2ee8-4353-a102-3b07b6079424",
"sales_organization_code": "sample string 5"
},
"db_language_id": "3d2b873c-1231-4529-bd64-653360c65224",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "988361fd-ac54-4b14-a607-c7a5a3aa1c9d",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "c61d376b-8148-4dd6-8512-ebac899da6f8",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "9f494ac1-8ba7-4cf2-99ab-b96beeb5b5e9",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-12-04T12:59:33.6815153+00:00"
},
"company_sector_id": "97fd78b1-e781-428e-a89e-1c7e8cd565f9",
"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": "bf670106-466f-466e-aa1e-15483e9f0639",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "2b263c06-21ee-44e6-9eee-da0b56d807a2",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "44ec972b-0b84-4230-9abb-298a12db99a6",
"account_manager_user_code": "sample string 56",
"company_status_id": "29c0a65d-c0fa-482c-99f8-c855139b53b7",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-12-04T12:59:33.6815153+00:00",
"id2": 60
},
"db_language_id": "26d987c3-ad67-46cb-9bdb-e3efdb2fc411",
"db_language_code": "sample string 7",
"db_title_id": "37a5d058-b973-43d7-94a1-6d51c5cee6d7",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-12-04T12:59:33.6815153+00:00",
"create_date": "2026-12-04T12:59:33.6815153+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-12-04T12:59:33.6815153+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.