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": "03cb9557-6a7e-4901-a8e4-a44544841c10",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "fa5c6bad-0ddc-4a2d-8cb2-0da27a2ecde8",
"company_code": "sample string 5",
"company": {
"id": "7128a22f-acbc-4963-bca1-ef21a2301c3c",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-07-28T08:27:54.6721839+00:00",
"sales_territory_id": "7b696b36-cdc0-4625-8215-6df3dea771d7",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "f2fbcf38-3c7f-464f-bbde-95938f66ae6c",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "1f3fb834-f341-4ad1-86c6-ee3f02e02aa0",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "8da3e6a4-6a6f-49b8-8ca5-13b457ec4fd4",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "ef99d840-5b60-4599-ae92-5b1443a1be8e",
"db_currency_id": "382c7147-adf2-48ee-b637-9d1b47cbe543",
"db_language_id": "9a0947f4-9a46-45b5-89c6-e679699e8df1",
"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-07-28T08:27:54.6721839+00:00"
},
"modified_dateutc": "2026-07-28T08:27:54.6721839+00:00"
},
"marketing_segment_id": "9c6c9ff8-59a9-481c-9b4e-965793e2d06e",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "44988518-5aa7-4baa-9fb9-bfb4fcba1d0f",
"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": "709f06dc-9011-48bc-809e-13e798d16adc",
"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": "a4d539eb-797c-49a4-a411-05f6ac31e06d",
"db_country_code": "sample string 28",
"feelist_id": "d6522a74-ad09-4af8-b681-353bd61f7248",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "965b0a4b-f1ad-4f31-a28d-5270922dffbb",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "f1fbffd1-02da-4bd3-b4f0-51971a61be5c",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-07-28T08:27:54.6721839+00:00",
"db_currency_id": "7a77e1d6-f6b4-4068-9504-06b32077f3e1",
"db_currency_code": "sample string 10"
},
"company_type_id": "9db6fbed-70ed-4212-868a-da2bc1648881",
"company_type_name": "sample string 32",
"company_type": {
"id": "3f0ef7e8-6679-4bfa-8cca-a58a1c65378a",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "05ae1571-816e-4a1d-9a7f-228440411538",
"sales_organization_code": "sample string 5"
},
"db_language_id": "a775e3dd-738c-4bc6-b1aa-de39560c4568",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "bf1898f5-66c8-42c6-bcc4-145a152927b7",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "16988750-9efc-4594-89f2-3502a7cb4a1d",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "866bb496-ee25-4ca6-974d-ac50ba9cf08f",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-07-28T08:27:54.6721839+00:00"
},
"company_sector_id": "ecaaf0b6-106d-4bf9-b29f-4f97ae218ebe",
"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": "9d707571-ca3c-4ac8-a6b5-b3d7a95eb78e",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "a67183a4-e2dc-4720-b654-53200f548548",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "bcebf70f-be97-409b-900d-1cff5afbe107",
"account_manager_user_code": "sample string 56",
"company_status_id": "3ed127ff-6083-4c1f-988c-4fff0006af9c",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-07-28T08:27:54.6721839+00:00",
"id2": 60
},
"db_language_id": "23a5d322-190c-4a93-8224-f9adfae169a6",
"db_language_code": "sample string 7",
"db_title_id": "f676d0fe-cd23-4236-a3f9-a9ecaddc7178",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-07-28T08:27:54.6721839+00:00",
"create_date": "2026-07-28T08:27:54.6721839+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-07-28T08:27:54.6721839+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.