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": "69eb48c1-20a8-4fcd-9685-273bc8ecebb4", "firstname": "sample string 2", "lastname": "sample string 3", "company_id": "fcf89ca0-4f42-4dda-8879-5cc5a408d371", "company_code": "sample string 5", "company": { "id": "8272f61b-cc91-4a71-90d6-3b7bbf6167ca", "is_client": true, "is_supplier": true, "archived": true, "name": "sample string 5", "notes": "sample string 6", "create_date": "2025-01-18T05:00:04.5679072+00:00", "sales_territory_id": "74b57c89-afed-42a9-98c4-eeb41a69c962", "sales_territory_code": "sample string 9", "sales_territory": { "id": "2baa74f7-abd0-493c-ad3e-335d03453bce", "code": "sample string 2", "description": "sample string 3", "sales_organization_id": "0afb1a0e-154b-4121-a99b-5fb838c192ef", "sales_organization_code": "sample string 5", "sales_organization": { "id": "89b506dc-bcda-4707-9187-e18d9a674180", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "e9605d0a-ef1f-4594-93c6-e019208b4f32", "db_currency_id": "1b96c72c-b5e6-4afe-8892-2ee8fd9c3997", "db_language_id": "8d818bcd-1b8d-4e1d-9b20-e6e1cf8f12ca", "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-01-18T05:00:04.5679072+00:00" }, "modified_dateutc": "2025-01-18T05:00:04.5679072+00:00" }, "marketing_segment_id": "0563991c-a0ad-4f47-94f1-08cf139fa315", "marketing_segment_code": "sample string 11", "sales_organization_id": "437fea13-de82-44b3-8bf0-b99bc0445b7c", "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": "9eee272e-aa59-4243-811e-754af91f98d5", "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": "dda4ce13-737f-4f6e-8522-adb015a30770", "db_country_code": "sample string 28", "feelist_id": "6e9ed604-638a-41e8-b3f6-186ea7aa8cfb", "feelist_reference_back_office": "sample string 30", "feelist": { "id": "d73601f6-56ad-4d0c-9046-e996e55f211b", "name": "sample string 2", "description": "sample string 3", "is_default": true, "default_price": 1.0, "sales_organization_id": "4539d938-ca6c-4a96-8df9-767250d41268", "sales_organization_code": "sample string 6", "reference_back_office": "sample string 7", "modified_dateutc": "2025-01-18T05:00:04.5846144+00:00", "db_currency_id": "e996d39f-48ff-497f-b82a-b5ec7f124853", "db_currency_code": "sample string 10" }, "company_type_id": "a6550384-d270-4810-b3de-9a6035053609", "company_type_name": "sample string 32", "company_type": { "id": "a26f6fb8-dad8-4d42-a198-87fc366ecb35", "name": "sample string 2", "description": "sample string 3", "sales_organization_id": "cc0bf4cf-97fd-4556-be69-c6fff89d1bbc", "sales_organization_code": "sample string 5" }, "db_language_id": "9860ceac-bba5-45a3-acc0-83ef450f4209", "db_language_code": "sample string 34", "code": "sample string 35", "article_price_label_id": "e7a1f7e5-19a9-4b83-a91e-2a376f8aa0b5", "article_price_label_code": "sample string 37", "db_payment_method_id": "abaac5dc-1955-487d-a229-1869008e54a2", "db_payment_method_reference_back_office": "sample string 39", "db_payment_methods": { "id": "9de1af09-75dd-458f-8037-f668f772c4f0", "name": "sample string 2", "pm": "sample string 3", "description": "sample string 4", "reference_back_office": "sample string 5", "activated": true, "modified_dateutc": "2025-01-18T05:00:04.5846144+00:00" }, "company_sector_id": "8d2e1ab8-84f7-4a6b-9f99-a5d5a57a0771", "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": "fcca8e83-1351-4753-83c0-4bb1f2c4a3af", "service_manager_user_code": "sample string 52", "finance_manager_user_id": "79ff127d-e42d-45a4-b421-8d6cc4c0f86e", "finance_manager_user_code": "sample string 54", "account_manager_user_id": "8d75cafe-616c-4203-8806-dbec8c08f572", "account_manager_user_code": "sample string 56", "company_status_id": "4db65e40-0e63-4f32-96c5-45b72f3c15d3", "invoice_email_to": "sample string 58", "modified_dateutc": "2025-01-18T05:00:04.5846144+00:00", "id2": 60, "po_number_required": true, "invoice_contact_id": "c86d88e9-a033-423c-aeda-8d1797ee27dc", "due_monthend": true, "payement_conditions": "sample string 64", "udf1": "sample string 65", "udf2": "sample string 66", "udf3": "sample string 67", "udf4": "sample string 68", "udf5": "sample string 69", "udf6": "sample string 70", "udf7": "sample string 71", "udf8": "sample string 72", "udf9": "sample string 73", "udf10": "sample string 74", "udf11": "sample string 75", "udf12": "sample string 76", "udf13": "sample string 77", "udf14": "sample string 78", "udf15": "sample string 79", "udf16": "sample string 80", "udf17": "sample string 81", "udf18": "sample string 82", "udf19": "sample string 83", "udf20": "sample string 84", "udf21": "sample string 85", "udf22": "sample string 86", "udf23": "sample string 87", "udf24": "sample string 88", "udf25": "sample string 89", "udf26": "sample string 90", "udf27": "sample string 91", "udf28": "sample string 92", "udf29": "sample string 93", "udf30": "sample string 94", "udf31": "sample string 95", "udf32": "sample string 96", "udf33": "sample string 97", "udf34": "sample string 98", "udf35": "sample string 99", "udf36": "sample string 100", "udf37": "sample string 101", "udf38": "sample string 102", "udf39": "sample string 103", "udf40": "sample string 104", "udf41": "sample string 105", "udf42": "sample string 106", "udf43": "sample string 107", "udf44": "sample string 108", "udf45": "sample string 109", "udf46": "sample string 110", "udf47": "sample string 111", "udf48": "sample string 112", "udf49": "sample string 113", "udf50": "sample string 114", "udf51": "sample string 115", "udf52": "sample string 116", "udf53": "sample string 117", "udf54": "sample string 118", "udf55": "sample string 119", "udf56": "sample string 120", "udf57": "sample string 121", "udf58": "sample string 122", "udf59": "sample string 123", "udf60": "sample string 124", "udf61": "sample string 125", "udf62": "sample string 126", "udf63": "sample string 127", "udf64": "sample string 128", "udf65": "sample string 129", "udf66": "sample string 130", "udf67": "sample string 131", "udf68": "sample string 132", "udf69": "sample string 133", "udf70": "sample string 134", "udf71": "sample string 135", "udf72": "sample string 136", "udf73": "sample string 137", "udf74": "sample string 138", "udf75": "sample string 139", "udf76": "sample string 140", "udf77": "sample string 141", "udf78": "sample string 142", "udf79": "sample string 143", "udf80": "sample string 144", "udf81": "sample string 145", "udf82": "sample string 146", "udf83": "sample string 147", "udf84": "sample string 148", "udf85": "sample string 149", "udf86": "sample string 150", "udf87": "sample string 151", "udf88": "sample string 152", "udf89": "sample string 153", "udf90": "sample string 154", "udf91": "sample string 155", "udf92": "sample string 156", "udf93": "sample string 157", "udf94": "sample string 158", "udf95": "sample string 159", "udf96": "sample string 160", "udf97": "sample string 161", "udf98": "sample string 162", "udf99": "sample string 163", "udf100": "sample string 164" }, "db_language_id": "81da6863-e22d-4a65-9fe3-1c4bcb5d6811", "db_language_code": "sample string 7", "db_title_id": "29a3f501-1341-41c2-8e9a-14b3f75848b7", "archived": true, "functions": "sample string 10", "e_login": "sample string 11", "e_password": "sample string 12", "notes": "sample string 13", "birthdate": "2025-01-18T05:00:04.5846144+00:00", "create_date": "2025-01-18T05:00:04.5846144+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-01-18T05:00:04.5846144+00:00" }
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.