Creates a new contact object
Request Information
URI Parameters :
None.
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": "d2ae4783-f51f-41de-b3bb-6266a964919e",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "6191b03b-0e44-4839-a6c1-2a44d53d9abf",
"company_code": "sample string 5",
"company": {
"id": "55eb344a-213c-42b3-8759-112614e97d9d",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-10-06T21:27:09.0461597+00:00",
"sales_territory_id": "68f10352-4c77-4910-9a25-9ecd7b5263ee",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "eb33b756-280b-41b1-92da-7039e370040d",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "e954b89c-332b-430d-abfe-8ef6b19c1094",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "bd0ec822-65b0-4ed1-9f5d-e1bc2d8cbad7",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "74adc5d2-ee47-49aa-b977-44fbbbd56951",
"db_currency_id": "de354515-dd88-43a4-9275-74a23b582530",
"db_language_id": "a420e3f8-8d78-4eed-8e84-bd0dbccf8b53",
"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-10-06T21:27:09.0461597+00:00"
},
"modified_dateutc": "2026-10-06T21:27:09.0461597+00:00"
},
"marketing_segment_id": "4d14c15e-92fa-43e3-be31-dc0a75d06a1b",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "7afbf5e7-c0d6-4329-a1b8-a0495b268fe4",
"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": "b1948bb5-b5ad-4ffb-88ca-f05ee7bbd976",
"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": "8058939b-d683-45e0-b985-3b77472f2e33",
"db_country_code": "sample string 28",
"feelist_id": "4723bdaf-0fcc-4ba2-83b9-39dfe08f9bd5",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "18962ad8-e9bb-4adb-8e52-0d2244657253",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "7dd08b63-bdbd-4ecb-a5d7-1f75d7d40f34",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-10-06T21:27:09.0461597+00:00",
"db_currency_id": "eacdc917-a0a9-4b54-a18f-98e17ac139e4",
"db_currency_code": "sample string 10"
},
"company_type_id": "0b554698-e6fd-4650-b532-909960b985c0",
"company_type_name": "sample string 32",
"company_type": {
"id": "d3bdb067-ecf3-4219-a50c-bdc37e5a4ad3",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "c106bcb7-0b31-48ae-bee2-442537681b50",
"sales_organization_code": "sample string 5"
},
"db_language_id": "5f0d5d2a-c05f-4fbd-a5f8-99927f41e2fe",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "a403bc9d-a7e7-4012-bdc8-9ecce091afde",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "f66141e8-3b79-4c13-9849-5f5609376cb3",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "3b72e52d-6c99-43ed-a60b-7f910002e0c2",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-10-06T21:27:09.0629249+00:00"
},
"company_sector_id": "44c3033a-75f1-4264-8082-48bf083da7df",
"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": "4ce867c0-1c9a-476a-bd18-737150776ace",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "5995cf63-2a81-4c78-b4d9-c59dd6a60b89",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "e4e1357c-f48d-48ab-b88f-c77a7d6adb5e",
"account_manager_user_code": "sample string 56",
"company_status_id": "965e1a6a-ee9e-4af9-87c6-964aa4f28206",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-10-06T21:27:09.0629249+00:00",
"id2": 60
},
"db_language_id": "a20d290a-7444-4d44-b791-26adbf653977",
"db_language_code": "sample string 7",
"db_title_id": "7b5c1161-511a-4b9d-9dab-f9c30c2c25fe",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-10-06T21:27:09.0629249+00:00",
"create_date": "2026-10-06T21:27:09.0629249+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-10-06T21:27:09.0629249+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.