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": "0c05f620-3ebb-4673-81bd-7bb41412fda4",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "fb810f51-29dc-47c5-92c7-237e8ab61716",
"company_code": "sample string 5",
"company": {
"id": "97c18193-d4cf-485a-8173-19a527dba66a",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2025-12-21T05:06:44.8783969+00:00",
"sales_territory_id": "054ec4bf-cda4-49db-92da-861614701da2",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "19e2d510-497b-491c-abbb-0377c8ad2e6a",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "abf3fd69-bd7d-491f-adad-5723c56560e2",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "07df59af-c01d-4139-9da5-77ebd17f141c",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "77029b6a-d475-48ec-b00e-0adcba7b2ad5",
"db_currency_id": "5b6e16b3-03f8-4517-a63d-b29979882080",
"db_language_id": "fbbf0a77-18dd-4441-9612-c37e5cd7e495",
"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-12-21T05:06:44.8783969+00:00"
},
"modified_dateutc": "2025-12-21T05:06:44.8783969+00:00"
},
"marketing_segment_id": "bf27cacd-d5c1-4fde-86c4-8ef0e9f99ae4",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "8b72901c-8c85-474b-94ee-380a41509f09",
"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": "44cc246d-b703-4c94-8ab8-2414c4b1ad74",
"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": "b80d648e-4ca9-46ff-a4a8-cca1d3517087",
"db_country_code": "sample string 28",
"feelist_id": "922d9c90-a871-483e-bfca-6d5d352bcf66",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "85129e96-2f68-41dd-9e30-5daceee60585",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "cbe5d0ec-f7d1-4476-9025-e3b4222d8cc4",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2025-12-21T05:06:44.8940221+00:00",
"db_currency_id": "a21336a5-3ad5-4bbb-9ee7-aa1d5992fe95",
"db_currency_code": "sample string 10"
},
"company_type_id": "34093671-5b24-441c-9d6e-c504b5289739",
"company_type_name": "sample string 32",
"company_type": {
"id": "5f88eb7f-25f5-4687-97dc-d2901c2786c2",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "fe4091ed-3c0a-4aea-83ab-0049fa9002d0",
"sales_organization_code": "sample string 5"
},
"db_language_id": "db80dd61-2589-4117-bc49-4699797ef86a",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "9dc2a984-268c-4ff8-aaa5-ecf527f60893",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "c426415e-c9c1-4d8b-9724-e2c27cbffff2",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "71aa1ef7-3bc7-4484-bbb7-dc7e6511cf0b",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2025-12-21T05:06:44.8940221+00:00"
},
"company_sector_id": "20c8aed4-0e25-4bfa-8af8-1e30486e2c78",
"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": "8e6449ed-06fd-4eec-a6a7-fdc6dada2674",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "e77749ea-11c5-4ed4-b32d-9f709dc9121f",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "d7a6b13e-afde-4264-9c04-a9ec961efea5",
"account_manager_user_code": "sample string 56",
"company_status_id": "2cb53778-1c11-4c32-8107-a3d3de22982b",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2025-12-21T05:06:44.8940221+00:00",
"id2": 60
},
"db_language_id": "7240ac49-d00c-4978-a0f0-ce9764421671",
"db_language_code": "sample string 7",
"db_title_id": "a32596ab-5467-47e9-bdc1-e32f69ff8faa",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2025-12-21T05:06:44.8940221+00:00",
"create_date": "2025-12-21T05:06:44.8940221+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-12-21T05:06:44.8940221+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.