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": "fe35c2bc-877f-4a30-90af-28f2062e77df",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "8965d5b2-abb0-404c-a873-e020a3dfd136",
"company_code": "sample string 5",
"company": {
"id": "1ae1f6e2-57f5-418a-8167-aa16fa225243",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-01-16T10:27:08.7733143+00:00",
"sales_territory_id": "a0fda76d-4c5a-4b2d-9b4a-8cd28877b4a7",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "771d9269-71cd-4209-9745-981d72d531d7",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "68465b30-7368-4070-ad8a-230e54ddc9d4",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "d3fa97d6-7424-4e9d-a88c-79b130645a04",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "854063a2-2945-402e-ba81-02215d22951f",
"db_currency_id": "325488bf-8be7-4b46-a44c-00f4228c347f",
"db_language_id": "e0fab98b-cdfb-4e38-a016-496ecb05eda1",
"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-01-16T10:27:08.7733143+00:00"
},
"modified_dateutc": "2026-01-16T10:27:08.7733143+00:00"
},
"marketing_segment_id": "22cc837c-68e0-4233-8c30-8e898b26b032",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "18bdd5c9-ac11-4817-ba01-1c41f22e27b5",
"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": "af480b9d-5976-4972-8382-c8e936e6952d",
"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": "593e80a9-1ec9-4acc-ad65-6e9a6ce3e70a",
"db_country_code": "sample string 28",
"feelist_id": "8121d563-14c9-41a8-94c2-baa2829ff2ae",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "a414a34d-4375-4468-bf74-9c3b57dd59a8",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "4c573cb1-f2cc-46f8-96b5-fa5ae97d8fe3",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-01-16T10:27:08.7733143+00:00",
"db_currency_id": "ebae38bf-b058-4b79-b184-3416395d2a30",
"db_currency_code": "sample string 10"
},
"company_type_id": "fed7d655-7ccd-4ce4-9494-aeb885a9e652",
"company_type_name": "sample string 32",
"company_type": {
"id": "9b50849c-24c1-4dfa-9b7b-8dae1e1c98ab",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "eca4f6e3-fee9-42d1-86c4-0979257aae60",
"sales_organization_code": "sample string 5"
},
"db_language_id": "a2fefef2-7e34-4953-a8d1-d083542822bb",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "63a66ab3-bde5-4bb6-815d-e851848551c1",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "9b2c8d69-3c49-4bf0-b159-0e3bcfe69533",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "4e2dd533-5d6e-483c-a469-d7fe08b79784",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-01-16T10:27:08.7733143+00:00"
},
"company_sector_id": "4bef93f5-5126-45e0-8c2a-0c77cf4299fb",
"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": "c74755d0-ce4b-43bb-8f30-02cc11c078aa",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "2fa52bfa-14c1-4aec-a442-68c9e714822f",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "46b9ea25-74ee-4886-ae0d-d9d18bbdbb84",
"account_manager_user_code": "sample string 56",
"company_status_id": "413e6fe1-f9db-416b-bb3a-18c5f5b60b91",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-01-16T10:27:08.7733143+00:00",
"id2": 60
},
"db_language_id": "a9e504e6-491b-47f9-b66f-b4365ba031b7",
"db_language_code": "sample string 7",
"db_title_id": "5a4b7c5d-e6cd-4905-ae35-47e7f7dc8d4f",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-01-16T10:27:08.7733143+00:00",
"create_date": "2026-01-16T10:27:08.7733143+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-01-16T10:27:08.7733143+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.