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": "2e754a76-9e8d-4ae3-84a8-84410f5b82a8",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "f1397993-7eed-46cb-b822-4a2c9904138c",
"company_code": "sample string 5",
"company": {
"id": "92a9c4a3-3be7-4cf6-b691-c5bd6125762e",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-06-25T15:12:49.4340928+00:00",
"sales_territory_id": "9ea19373-fb12-47d0-aca2-a046577fd83f",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "40c45825-23af-4426-a111-5776eccd72c0",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "ed8dcce2-ad56-4b08-b7ef-3232f8ea45c9",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "6ef9556d-a278-46d1-a352-ddbc12fc814e",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "4409c899-11a8-4b32-9789-aceb6184845d",
"db_currency_id": "7113e463-6c77-45e3-ad1c-25171bfde151",
"db_language_id": "d32e54fc-bd37-465b-aab6-090fbc068631",
"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-06-25T15:12:49.4340928+00:00"
},
"modified_dateutc": "2026-06-25T15:12:49.4340928+00:00"
},
"marketing_segment_id": "3d34b719-d996-48b6-91eb-d1e06e744034",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "123736cf-22c0-4a18-96db-527c3449fcd1",
"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": "d0c3c331-1cee-43b1-9319-bbd1a6717454",
"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": "a6d089af-5c52-4b93-ad07-09aab8d9bb4b",
"db_country_code": "sample string 28",
"feelist_id": "52a8f972-6362-475f-954f-2b071e627d64",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "09f21ff4-b9e9-4612-b65c-58a3eac66d7d",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "b0fbd91a-1f02-41fc-8596-dd6b31721cbb",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-06-25T15:12:49.4340928+00:00",
"db_currency_id": "83d1afe5-926b-4234-95c3-0680ab598cf2",
"db_currency_code": "sample string 10"
},
"company_type_id": "16b9ec8c-66ab-4184-a788-2661cd77d73a",
"company_type_name": "sample string 32",
"company_type": {
"id": "7627bfab-de3d-459e-b2f3-a2b79adc3e27",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "5405c9cd-c6da-4c81-87f0-333b355e879f",
"sales_organization_code": "sample string 5"
},
"db_language_id": "f7773525-c100-4a06-bb5b-22ec4cfcd9d7",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "4965bde3-248e-4484-b424-932bc57bdb98",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "07dfc98d-8f12-4628-940d-918bf271575b",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "b24ae34b-95bd-4fca-9d5e-d880dfe923f4",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-06-25T15:12:49.4340928+00:00"
},
"company_sector_id": "855dfbf7-be75-4b4b-8135-73c59c20712a",
"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": "99ac0d2a-da1c-4df0-a803-3df6bef9860d",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "318a7f6a-9626-4f34-bf1b-4cff8a38db47",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "b9dfe383-62b3-4aea-bfdc-103317310554",
"account_manager_user_code": "sample string 56",
"company_status_id": "e6838e12-b1f3-44b0-95ac-b3c1f68bb532",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-06-25T15:12:49.4340928+00:00",
"id2": 60
},
"db_language_id": "a8bc0e75-af25-41c4-89a2-039cb99b5c7d",
"db_language_code": "sample string 7",
"db_title_id": "3c5a192f-0cf8-44e6-9c8a-58c34d7d26e7",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-06-25T15:12:49.4340928+00:00",
"create_date": "2026-06-25T15:12:49.4340928+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-06-25T15:12:49.4340928+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.