Updates the contact with the specified key
Request Information
URI Parameters :
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters :
contactName | 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": "ba238aab-60eb-4198-b465-dff6b7cad524", "firstname": "sample string 2", "lastname": "sample string 3", "company_id": "310ed2b2-944b-4fd7-96a5-e0b5024ba092", "company_code": "sample string 5", "company": { "id": "d841ac37-bda9-4e45-9d76-2c95454a65a5", "is_client": true, "is_supplier": true, "archived": true, "name": "sample string 5", "notes": "sample string 6", "create_date": "2025-05-18T01:33:33.8703044+00:00", "sales_territory_id": "4e43ced3-8f60-456d-85eb-07acb10ff3f9", "sales_territory_code": "sample string 9", "sales_territory": { "id": "19c662b5-aa8b-4de1-ba77-d71d8c4129b8", "code": "sample string 2", "description": "sample string 3", "sales_organization_id": "f98f232f-42e2-45a9-81a0-b45420cb373e", "sales_organization_code": "sample string 5", "sales_organization": { "id": "fa5537f3-6da4-47b5-9ebd-3733ad1184a1", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "79961607-ddae-4a78-9055-e74590e5eb7d", "db_currency_id": "ec83bad4-fd60-4242-9a87-1341aca4ebe4", "db_language_id": "d5210f5f-ae5d-41de-8001-c9b0d2801521", "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-05-18T01:33:33.8703044+00:00" }, "modified_dateutc": "2025-05-18T01:33:33.8703044+00:00" }, "marketing_segment_id": "d343887c-9ebd-41ea-a3bb-5f2a4a25e277", "marketing_segment_code": "sample string 11", "sales_organization_id": "3b6950ed-8420-4b4d-bd4a-07ac88d2b797", "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": "7277864f-452e-47ed-b872-c32c921e9f5f", "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": "11ca01cd-8f1b-4854-817b-55efccde5c91", "db_country_code": "sample string 28", "feelist_id": "22e94dd9-7ce9-48c4-8c2d-866646a65b91", "feelist_reference_back_office": "sample string 30", "feelist": { "id": "e623f8ce-98c1-40c0-bfa1-b4250c54220f", "name": "sample string 2", "description": "sample string 3", "is_default": true, "default_price": 1.0, "sales_organization_id": "b82b771b-1bf9-455a-ae22-2dc2940fbfdc", "sales_organization_code": "sample string 6", "reference_back_office": "sample string 7", "modified_dateutc": "2025-05-18T01:33:33.8703044+00:00", "db_currency_id": "69267bdb-3464-4831-9d18-9ff5f349432c", "db_currency_code": "sample string 10" }, "company_type_id": "9a5d0c82-21d9-4da5-8740-e2a02394a152", "company_type_name": "sample string 32", "company_type": { "id": "eb89a8b5-cb5e-4194-9679-f0c8bee6eebd", "name": "sample string 2", "description": "sample string 3", "sales_organization_id": "bb097c4b-e540-4b02-bd73-12fac6533e09", "sales_organization_code": "sample string 5" }, "db_language_id": "c914dd16-dcf9-4f67-83cf-2a798490b39b", "db_language_code": "sample string 34", "code": "sample string 35", "article_price_label_id": "7ee0d45d-6637-4846-a46a-496e47c6ef0c", "article_price_label_code": "sample string 37", "db_payment_method_id": "ebe709a5-6f2c-45e4-9277-4e909d0999c6", "db_payment_method_reference_back_office": "sample string 39", "db_payment_methods": { "id": "5b05dbbe-1a76-422d-bade-0d8650a10c06", "name": "sample string 2", "description": "sample string 3", "reference_back_office": "sample string 4", "activated": true, "modified_dateutc": "2025-05-18T01:33:33.8703044+00:00" }, "company_sector_id": "9e41b91c-15e3-4b83-bdd8-2b0d767f7846", "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": "8a9814bb-9b52-4e6a-b428-726fbbcf92ef", "service_manager_user_code": "sample string 52", "finance_manager_user_id": "0192b427-9373-4672-822a-ec60212759f9", "finance_manager_user_code": "sample string 54", "account_manager_user_id": "7292f8dc-0aad-46d9-a3bc-da71a48834e9", "account_manager_user_code": "sample string 56", "company_status_id": "5fac843a-759e-41f4-bd40-17f0f9b36b36", "invoice_email_to": "sample string 58", "modified_dateutc": "2025-05-18T01:33:33.8703044+00:00", "id2": 60 }, "db_language_id": "0429a14f-6d8e-43a2-9ea3-7ebebb596c58", "db_language_code": "sample string 7", "db_title_id": "5193b17c-37f3-47a2-b870-6384139f7fc2", "archived": true, "functions": "sample string 10", "e_login": "sample string 11", "e_password": "sample string 12", "notes": "sample string 13", "birthdate": "2025-05-18T01:33:33.8703044+00:00", "create_date": "2025-05-18T01:33:33.8703044+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-05-18T01:33:33.8703044+00:00" }
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.