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": "a7ac981d-95f4-4cc9-9ea6-3d4f58808bf6",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "68d9e94b-fa2f-4ca2-af9d-c881113fb756",
"company_code": "sample string 5",
"company": {
"id": "6c06eda4-a2ea-4a95-aa97-adbcf4a3639e",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-07-17T08:43:51.4951349+00:00",
"sales_territory_id": "3b959b8f-6af0-4caa-a0a5-6bdce8e097a5",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "19cd96b0-1dd9-48da-aef1-1526004e4ff3",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "c2453e80-c1a9-4fe9-acd0-e5c5c12c01f6",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "310a28bf-9fe8-4a9d-a096-d2a446819895",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "ac43f3e7-7a2e-4935-970a-9f639965e233",
"db_currency_id": "310d856b-3e3b-46e9-a5fa-e190674d577c",
"db_language_id": "872f8caa-43ef-4486-857f-259420a6c0a4",
"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-07-17T08:43:51.4951349+00:00"
},
"modified_dateutc": "2026-07-17T08:43:51.4951349+00:00"
},
"marketing_segment_id": "7ef58c51-fc1b-432b-8e26-b0c89aca928e",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "f4fdf5f8-b272-49d8-9771-4aa01d8c6e68",
"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": "38bc29a0-6246-47d4-8450-f8b70da53d35",
"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": "a9475694-1b9e-441d-8677-21e99335461e",
"db_country_code": "sample string 28",
"feelist_id": "993eedae-436f-4758-9c37-fdc47546c686",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "cc92fef2-eabd-47b0-8af4-88a8e9ece37c",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "075a025c-e07a-4718-aa31-0b6d0b8f872f",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-07-17T08:43:51.4951349+00:00",
"db_currency_id": "79eeeca0-4e2b-4529-aa69-c254f479c731",
"db_currency_code": "sample string 10"
},
"company_type_id": "ca9f09fc-5e77-4701-8323-c05d4cc34cb6",
"company_type_name": "sample string 32",
"company_type": {
"id": "f69a3077-5b3a-473c-8104-3fbe73152847",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "074abc69-a2d5-4dee-ab78-6658d0ffff59",
"sales_organization_code": "sample string 5"
},
"db_language_id": "6e92ce9e-1e20-4107-89ff-1e709363082c",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "3c2ae9e9-cbb1-4d34-979b-aa8e8209a74c",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "0a3a653a-30ac-44ef-8adf-6ef9b1bf7f62",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "f9291e96-e248-4d59-ba92-6012d880cf3a",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-07-17T08:43:51.4951349+00:00"
},
"company_sector_id": "b5602159-83c4-4691-a1a7-64c68292763e",
"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": "49dff44b-b179-4f61-bb0b-30dbb52b6969",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "84eb43f7-d774-4924-8045-2c61af6f8b03",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "76758247-d450-4acf-a47b-b20d9381615e",
"account_manager_user_code": "sample string 56",
"company_status_id": "0dcac42e-8319-495d-adaf-097b366ae949",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-07-17T08:43:51.4951349+00:00",
"id2": 60
},
"db_language_id": "77196a98-54c8-4925-8205-157f1b133cd5",
"db_language_code": "sample string 7",
"db_title_id": "3609848a-7b72-438a-a89a-7367c29e410b",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-07-17T08:43:51.4951349+00:00",
"create_date": "2026-07-17T08:43:51.4951349+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-07-17T08:43:51.4951349+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.