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": "bb827b7e-dc07-4958-88ce-cd4719bb2bcf",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "d0e654d7-303b-4db5-a3a0-4ad872d6c79a",
"company_code": "sample string 5",
"company": {
"id": "604a3503-2f2e-444d-a683-74a2e9ef1eb1",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2025-12-18T04:09:32.6403474+00:00",
"sales_territory_id": "380dc6c2-4cdf-450d-8844-1c4b3d2f553e",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "2a6350c9-2a65-42dd-bc5d-8cb1b3d20f0f",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2fe1fa9c-70de-4753-b88c-2e742256dbc9",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "78922c47-fa6c-4379-b6aa-a5d839a187b7",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "3cce865c-cb52-4c3f-a8dc-2f8485cce3da",
"db_currency_id": "5c7f569a-0108-4173-a355-d25353baa5d4",
"db_language_id": "4d7a6a66-ab37-42be-bde1-1bf54122b25c",
"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-18T04:09:32.6403474+00:00"
},
"modified_dateutc": "2025-12-18T04:09:32.6403474+00:00"
},
"marketing_segment_id": "83b4bccd-d0a7-4689-a159-c7d4b97dd22e",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "03f24a5f-c311-432a-92e1-7de153c76202",
"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": "779fbbc0-0c70-477c-818c-9577bf478f8d",
"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": "60fc880b-0d8c-4b46-b3ad-24b3f396553c",
"db_country_code": "sample string 28",
"feelist_id": "8c608391-bcd3-40e8-9954-3fbac446b652",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "377bdde6-87c7-43b0-9d4c-30df36c79c30",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "0e0a035b-d225-43f2-9335-01c257218cd5",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2025-12-18T04:09:32.6403474+00:00",
"db_currency_id": "89841646-654b-48a9-a559-e36f6acf91dc",
"db_currency_code": "sample string 10"
},
"company_type_id": "ffbd1190-ef2c-4578-b9a4-250c624796b0",
"company_type_name": "sample string 32",
"company_type": {
"id": "edd0754b-0f2c-4654-9a22-5197371aa6da",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "67f21fb9-3214-4132-bff4-8d3907da97b2",
"sales_organization_code": "sample string 5"
},
"db_language_id": "7c21c2f4-3f0a-4b3d-9326-2d3f7946d10a",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "16d6964e-3046-41ff-a3c5-72bc360673c3",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "ea34251e-4f07-4633-a677-4b342df33660",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "565ece85-44ff-4810-9c23-62f4f8a6ee86",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2025-12-18T04:09:32.6403474+00:00"
},
"company_sector_id": "7bf278aa-4605-4ba3-95b9-7e3c598652c8",
"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": "11d6bb30-cd82-4e0a-aa25-e1bc7bc88b45",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "e020eba4-d454-49c4-a02d-0e38c5b15d17",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "5240ccda-0a0a-43c9-8648-8403f9c45970",
"account_manager_user_code": "sample string 56",
"company_status_id": "b0d6704e-c6db-4010-b29a-f1de1fabf73d",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2025-12-18T04:09:32.6403474+00:00",
"id2": 60
},
"db_language_id": "e6f44c34-42e4-4a05-ad16-c4de79ff28e2",
"db_language_code": "sample string 7",
"db_title_id": "afb3057c-6b4d-4f5d-9f5f-0f3218b76502",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2025-12-18T04:09:32.6403474+00:00",
"create_date": "2025-12-18T04:09:32.6403474+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-18T04:09:32.6403474+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.