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": "81e257c0-7187-4e05-828b-85446878a278", "firstname": "sample string 2", "lastname": "sample string 3", "company_id": "a6c05f18-6204-4399-8b32-747df9c19848", "company_code": "sample string 5", "company": { "id": "176d7297-b375-4a6e-b426-e60a5a9ef6e5", "is_client": true, "is_supplier": true, "archived": true, "name": "sample string 5", "notes": "sample string 6", "create_date": "2025-02-19T09:20:25.3288238+00:00", "sales_territory_id": "2cf0bc16-4fb2-4342-8d8b-c73cc0d0f0fa", "sales_territory_code": "sample string 9", "sales_territory": { "id": "0ed255cc-cb44-4886-9c26-4beb18e77111", "code": "sample string 2", "description": "sample string 3", "sales_organization_id": "69520d23-5ddf-451f-b11a-b175e0722bd8", "sales_organization_code": "sample string 5", "sales_organization": { "id": "2ccfede2-c39d-46b9-84d1-cd94a696cb30", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "6b62e2fe-05f9-4dbf-be59-45d8f06586dd", "db_currency_id": "8f111423-ad6d-4fef-9b71-8610e8d84c70", "db_language_id": "f5182ed3-a35d-4635-9030-829bf65daddc", "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-02-19T09:20:25.3288238+00:00" }, "modified_dateutc": "2025-02-19T09:20:25.3288238+00:00" }, "marketing_segment_id": "f0bd8251-edeb-4b0e-a686-d51679c164ce", "marketing_segment_code": "sample string 11", "sales_organization_id": "b5da2596-1901-4b8e-a3db-32b97e6a149c", "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": "4b4ffe81-c7ec-49ed-8bd6-960ef6787e3e", "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": "f8ca7c74-5a35-4da5-a0dd-243d405cc097", "db_country_code": "sample string 28", "feelist_id": "6b6e0e86-d6f6-4803-9a52-1f3c91543a40", "feelist_reference_back_office": "sample string 30", "feelist": { "id": "7f71551d-9bbe-46c8-8668-93c99fe70399", "name": "sample string 2", "description": "sample string 3", "is_default": true, "default_price": 1.0, "sales_organization_id": "a2a760d4-70cd-4243-873d-cbd2f9541f36", "sales_organization_code": "sample string 6", "reference_back_office": "sample string 7", "modified_dateutc": "2025-02-19T09:20:25.3288238+00:00", "db_currency_id": "fef78e02-5e5b-44c9-864f-e4aada307183", "db_currency_code": "sample string 10" }, "company_type_id": "008e0c6a-4b3b-4e41-97bc-b9221409ef12", "company_type_name": "sample string 32", "company_type": { "id": "24e738ed-82ca-4ce6-91bc-e32eb67a8a2d", "name": "sample string 2", "description": "sample string 3", "sales_organization_id": "cba7ef27-9c23-401a-a634-4491a51f712a", "sales_organization_code": "sample string 5" }, "db_language_id": "c15ef750-77f2-43c5-a04f-58a90fe35470", "db_language_code": "sample string 34", "code": "sample string 35", "article_price_label_id": "52bc07ee-bb19-4214-b583-8df1ab0a3aec", "article_price_label_code": "sample string 37", "db_payment_method_id": "614362f0-f2ea-4e63-83f1-6fe0f0e9f1d1", "db_payment_method_reference_back_office": "sample string 39", "db_payment_methods": { "id": "3713a01b-529a-4445-b048-96411d3bba0d", "name": "sample string 2", "description": "sample string 3", "reference_back_office": "sample string 4", "activated": true, "modified_dateutc": "2025-02-19T09:20:25.3288238+00:00" }, "company_sector_id": "13abf806-9793-4471-aca5-86e15472e443", "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": "687306c3-a3b1-4343-a88d-628a140bb411", "service_manager_user_code": "sample string 52", "finance_manager_user_id": "5d4bf66c-7b82-48ba-9fd0-77c71ab73be0", "finance_manager_user_code": "sample string 54", "account_manager_user_id": "d7c7be1a-ff4d-4e5f-9918-ca52e7f52526", "account_manager_user_code": "sample string 56", "company_status_id": "cf8f46a1-b411-4e87-acd4-5591fce78a4e", "invoice_email_to": "sample string 58", "modified_dateutc": "2025-02-19T09:20:25.3288238+00:00", "id2": 60 }, "db_language_id": "17d10f5b-b6c9-48fc-abda-46368ba4510a", "db_language_code": "sample string 7", "db_title_id": "50949981-e6fe-4be6-96a5-9c868c385748", "archived": true, "functions": "sample string 10", "e_login": "sample string 11", "e_password": "sample string 12", "notes": "sample string 13", "birthdate": "2025-02-19T09:20:25.3288238+00:00", "create_date": "2025-02-19T09:20:25.3288238+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-02-19T09:20:25.3288238+00:00" }
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.