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": "2f553a75-a389-487f-9332-af843d92dc0a",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "25bb1bf1-dd86-4fff-b368-98f2dd58322d",
"company_code": "sample string 5",
"company": {
"id": "1d43ef7e-647a-4d14-ba40-f620a04b98e8",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-10-23T03:03:55.9145922+00:00",
"sales_territory_id": "e5ff3801-3351-4ff6-8362-360a388cd881",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "ce5f56cd-00cf-4da3-8ee4-9063e404b848",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "9c2a8541-8162-4daa-8c64-50ce75efb899",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "71b75723-a53f-4ab9-85e4-9b6cd4539f15",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "e6201a1e-8a0c-4c7b-a6d1-c3b452c0e1f8",
"db_currency_id": "9a9b000d-9150-420c-93e9-fb3d8aa94018",
"db_language_id": "af066d1b-9f79-4d03-9c8c-47225e4566f3",
"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-10-23T03:03:55.9145922+00:00"
},
"modified_dateutc": "2026-10-23T03:03:55.9145922+00:00"
},
"marketing_segment_id": "e5a6aa22-abe1-45f6-b0d9-6fac5d68aa33",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "ff783a4b-b185-4f57-9498-5f420f2b2f96",
"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": "ca1730a5-4e73-41f4-be14-36e55adad345",
"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": "a73f594a-7566-4943-a754-c84ebcb7c59b",
"db_country_code": "sample string 28",
"feelist_id": "537ba945-9728-4e72-945d-d9f51d5281ac",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "7f8a0f91-2280-4c0d-90b2-55b46aa31d1c",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "419b4ddc-6e08-4685-856e-63f696fd2ed6",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-10-23T03:03:55.9145922+00:00",
"db_currency_id": "a4d916a4-a1ee-4efc-905c-f5583e69f0e7",
"db_currency_code": "sample string 10"
},
"company_type_id": "a0fa04a2-43d7-4203-8020-1d4963105779",
"company_type_name": "sample string 32",
"company_type": {
"id": "58fc4310-11cf-4d3e-8480-0dd9ed18e55f",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "60d89cb9-ec0f-480a-a6ba-4ac07d87a88c",
"sales_organization_code": "sample string 5"
},
"db_language_id": "a4f56416-11de-4419-b9fb-93ad1ced0c1f",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "d621ea7b-eb01-48a8-be53-9b8c62ec9c3c",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "d8a6b5c1-6860-400e-8ec9-b44f36096901",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "8976eeaf-0eb8-4b64-9a6f-8d4228ebd635",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-10-23T03:03:55.9145922+00:00"
},
"company_sector_id": "af107fd4-75ed-42cc-96b1-1426c61c1b45",
"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": "ab2ee66f-15ba-4b92-bb40-59759c899e36",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "793b0d06-aa04-4d7c-8520-f3ffa79ceb5b",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "bca6e86c-a2b6-4e49-9b4b-c62be4f52cbb",
"account_manager_user_code": "sample string 56",
"company_status_id": "903f6094-58f5-4d14-be13-bb9b20bc98ea",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-10-23T03:03:55.9145922+00:00",
"id2": 60
},
"db_language_id": "42809cdb-6bfd-411d-b147-1367b55a5e3c",
"db_language_code": "sample string 7",
"db_title_id": "2b9af433-cbd5-4f48-8956-57d121b83c13",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-10-23T03:03:55.9145922+00:00",
"create_date": "2026-10-23T03:03:55.9145922+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-10-23T03:03:55.9145922+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.