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": "798ef030-958b-4508-ae75-458a99b71a7a",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "4c4c613c-5ded-4cce-8a78-4eaa90c33211",
"company_code": "sample string 5",
"company": {
"id": "241124fe-af8c-49e9-af4c-ecedd5719970",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-03-11T17:06:19.9440062+00:00",
"sales_territory_id": "a70ce2e4-b7cd-4a54-8052-6afd5747eef0",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "db525f97-5c4e-4fab-acfd-64777ee441e6",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "b129adab-f5a4-45f6-a200-98c434ffe3b4",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "3947e710-3542-460f-805f-16537b6ad04a",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "f3c92811-8768-400c-837c-7ffda7965468",
"db_currency_id": "ad3c3edb-b7bd-4107-92c2-c02912c85b2d",
"db_language_id": "fe1b0633-0b57-4ad1-8a19-dd22db3e9d27",
"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-03-11T17:06:19.9440062+00:00"
},
"modified_dateutc": "2026-03-11T17:06:19.9440062+00:00"
},
"marketing_segment_id": "b3cd9315-9770-40cb-b29d-41a5ef155bf6",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "6c43e8ee-13b5-45e1-9171-df11a89ff382",
"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": "c84911eb-aa8a-4c59-a7c3-efb8205ad35e",
"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": "dd0ac297-19e9-420d-ad89-a22bf9bbfcd1",
"db_country_code": "sample string 28",
"feelist_id": "cc5584b3-7bee-4235-84d8-b4c598dfd4d7",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "60d35462-90cf-4222-a077-4ef4d7040a8b",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "1b64813e-b7c2-45d8-80a2-b6919ef543fa",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-03-11T17:06:19.9440062+00:00",
"db_currency_id": "5e95f3d6-700f-47e3-840a-149c926172b6",
"db_currency_code": "sample string 10"
},
"company_type_id": "12257d0a-f08c-4f7e-9d6b-5e6199ef5d11",
"company_type_name": "sample string 32",
"company_type": {
"id": "735d0076-0e26-4430-9179-93b40df171e2",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "7326dd1a-8d5f-4dc3-bc82-f4476b9496b9",
"sales_organization_code": "sample string 5"
},
"db_language_id": "f2328e4f-620a-4ce1-88c7-9d7a61db1ef5",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "988888d2-0110-4090-ac8a-edd287b330d5",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "f38258e5-d94c-4069-8bf2-c7974aa4d195",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "dfcc84b3-b8dd-4757-a969-16ddaf6c4543",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-03-11T17:06:19.9440062+00:00"
},
"company_sector_id": "c41eff5f-b2de-435c-8e14-e4c8dd790346",
"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": "d060f10a-02c6-4f18-bfac-61f065db9d33",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "eb4b8eb2-ee09-43aa-8265-20af07b29b92",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "8151cb10-355f-48ea-a2d2-bcb294a8bd8d",
"account_manager_user_code": "sample string 56",
"company_status_id": "31aa2e2a-f912-4d5b-92ca-360ba9afce77",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-03-11T17:06:19.9440062+00:00",
"id2": 60
},
"db_language_id": "321873ed-b02b-46ed-a72e-a4fa7d1748b1",
"db_language_code": "sample string 7",
"db_title_id": "5e178220-d958-4bce-9913-ed4b365ec4dd",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-03-11T17:06:19.9440062+00:00",
"create_date": "2026-03-11T17:06:19.9440062+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-03-11T17:06:19.9440062+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.