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": "5892a6b5-cc7b-463d-aa62-4fe0e7edfc9c",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "be8add8c-a667-4755-b16d-c3bb4377a63b",
"company_code": "sample string 5",
"company": {
"id": "09f8140e-5c0c-42e0-941f-6fd959aca10a",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-06-30T17:34:38.4352252+00:00",
"sales_territory_id": "b76cfeef-3aa7-43e5-84ef-dc3124d54f17",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "88b0d64d-62ca-4a2b-add3-2e2e9f1aeb83",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "c9ad2012-d5a2-4d77-ad6d-23b4e7a040d3",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "d6eac38d-352d-4e98-8a1f-fbdd22f2743f",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "0dde362e-9bc5-4ae3-a49a-339d6eeaf105",
"db_currency_id": "cf2425c4-c47a-4dd4-aae5-d64d67a4ed3d",
"db_language_id": "0facb27a-a2a8-4cf8-bbb6-e6919bfd3e8b",
"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-30T17:34:38.4352252+00:00"
},
"modified_dateutc": "2026-06-30T17:34:38.4352252+00:00"
},
"marketing_segment_id": "b22eda0a-4fe5-4b2b-9e3e-11d29eb902e9",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "6553f124-745b-45e9-aaf8-8cd09f7ed4d5",
"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": "63c7fe36-9958-442a-9c83-3d7558f42f2b",
"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": "0d461bd5-be59-448b-8621-31b08c257d5c",
"db_country_code": "sample string 28",
"feelist_id": "206fbc91-e136-401a-8cb7-9b2b878feb64",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "5dc63e3b-fce1-4e2b-99b0-71ed1ef3a95f",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "297f4536-1459-4999-886b-1629c9914eb1",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-06-30T17:34:38.4352252+00:00",
"db_currency_id": "3eae33fa-2fc6-4b8c-89e8-40de8d164a17",
"db_currency_code": "sample string 10"
},
"company_type_id": "48d943eb-e5aa-49cf-aa8f-357758a69c61",
"company_type_name": "sample string 32",
"company_type": {
"id": "c9d108b8-3328-417c-9ff9-2e03c15d9325",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "01ab8bc2-2c5d-4805-986a-019542dc7113",
"sales_organization_code": "sample string 5"
},
"db_language_id": "766cef29-1e56-4f5a-a63e-fc02ca0755f4",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "6e52f3aa-110d-4049-8e53-dc4ec5391d51",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "9efb7dc5-de2c-490d-9bda-9de1bb23687f",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "63702ad3-1a02-4181-8114-cbe865aa0789",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-06-30T17:34:38.4352252+00:00"
},
"company_sector_id": "543ca29d-d1b2-420e-ba91-dc6087724039",
"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": "62db4d85-61d3-445c-9323-2bcb0cfc3f09",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "d806eb42-2236-4d7c-a28c-bdce971e217f",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "0e0b1c5f-8f7e-4816-9019-c4ab692205d1",
"account_manager_user_code": "sample string 56",
"company_status_id": "5468094f-a655-415b-9877-f02f6afb0f62",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-06-30T17:34:38.4352252+00:00",
"id2": 60
},
"db_language_id": "3351adf4-930e-4ba1-8484-648b1677fa31",
"db_language_code": "sample string 7",
"db_title_id": "9c5aa9fb-ab30-4fe0-a37e-15b33bee38b2",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-06-30T17:34:38.4508443+00:00",
"create_date": "2026-06-30T17:34:38.4508443+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-30T17:34:38.4508443+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.