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": "88bf90d4-bf7d-4305-8a0e-f8eac5e617eb",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "bf982eb1-ba28-4c4b-802a-e8964c6370a1",
"company_code": "sample string 5",
"company": {
"id": "e3ee5dfa-750c-4cf4-aa08-c0912e8dc20c",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-11-02T04:55:56.4937029+00:00",
"sales_territory_id": "693c2244-0778-4387-8c58-badf1ee7838e",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "d0e06e83-1b43-456a-be39-670e8440c796",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "eaa4a123-cf3e-41d4-bb22-a8d1bf01de6b",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "00c732a6-890c-4041-86bd-0e87536d319a",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "8270afde-2bd0-46aa-8cc8-e1d35cfd3182",
"db_currency_id": "143670cc-aa7a-481f-bc37-5dd534ad1292",
"db_language_id": "7a09361b-5627-47ab-a28d-5f26205b8f4e",
"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-11-02T04:55:56.4937029+00:00"
},
"modified_dateutc": "2026-11-02T04:55:56.4937029+00:00"
},
"marketing_segment_id": "06412666-0392-4822-9d25-f0b23fb16f66",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "0e339bd7-27e1-4d9d-8340-5e65d2879871",
"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": "9549171f-5dcc-4f2f-94f1-68f4ed416f46",
"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": "41e740ca-de9b-4d4d-8cae-81e041f8efba",
"db_country_code": "sample string 28",
"feelist_id": "995e41fd-1b88-4206-b923-60f6642ce98a",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "9b1477ea-1e7a-49f3-829c-74f2c7ea1fab",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "d9dddd26-969a-452d-bf30-da41212c4016",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-11-02T04:55:56.4937029+00:00",
"db_currency_id": "4b0d7659-fb6b-4fc4-a239-9528aae54e99",
"db_currency_code": "sample string 10"
},
"company_type_id": "7d1dc47e-76cd-4416-a28a-b86ce3882a0e",
"company_type_name": "sample string 32",
"company_type": {
"id": "c0f17873-403d-4b3a-a588-b1af158fe14d",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "347a23e8-4fa5-4df6-be2e-bcbc720dd574",
"sales_organization_code": "sample string 5"
},
"db_language_id": "31a40a37-297e-4b87-81cd-5a95c5b5cb00",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "95028dfa-66c5-4da7-84b3-8a5be6abe2bb",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "274c0cc1-c350-4af2-9855-ae5aaadc6a15",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "6915a963-6a1b-42ed-88bf-818281f3b25f",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-11-02T04:55:56.4937029+00:00"
},
"company_sector_id": "4068f2b7-1cf6-4cc5-8fc7-48c6e3b36504",
"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": "3791e5d7-c0e9-4c04-9043-85e6400a54c4",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "cd82b22a-37a8-4b44-9d7c-fe0afa12dda0",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "a80ce247-0eb5-409c-85b1-cb59b604fafe",
"account_manager_user_code": "sample string 56",
"company_status_id": "be85685a-623b-4b6a-b8ca-72f2f8dd5cce",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-11-02T04:55:56.5137539+00:00",
"id2": 60
},
"db_language_id": "2b02b59d-3002-4871-a6be-bc1d299dd398",
"db_language_code": "sample string 7",
"db_title_id": "fc0c3eca-0e2c-43a1-a84e-21d6a081203a",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-11-02T04:55:56.5137539+00:00",
"create_date": "2026-11-02T04:55:56.5137539+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-11-02T04:55:56.5137539+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.