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": "0d04fd9b-004b-46af-be9e-acbcdd7e244d",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "89ee6226-f605-4a80-aa59-37e9c37ae5bf",
"company_code": "sample string 5",
"company": {
"id": "6ccec28b-3395-4842-ba4f-f23cc97eb475",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-05-30T18:43:03.1931097+00:00",
"sales_territory_id": "7eb7b843-82c9-4f88-a864-23abdadcb254",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "640673b4-7366-486a-8f3b-2293749d12f0",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "42525739-3ab1-4884-84cd-25e9360d2dce",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "a43b4b5b-a992-4244-84b0-de5e2da8d8b6",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "1a5953e8-4f9a-4fab-8a23-979682af62e3",
"db_currency_id": "f4c0ad6b-5db1-4b95-bb73-e90bf1b6932e",
"db_language_id": "69ba196b-cdbc-40bc-abbc-af3d9e8d5304",
"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-05-30T18:43:03.2086816+00:00"
},
"modified_dateutc": "2026-05-30T18:43:03.2086816+00:00"
},
"marketing_segment_id": "cffb996f-8e11-436a-a4f2-44aecff60abb",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "81324bcb-eacd-4ebd-93f1-ee83de57727f",
"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": "58fb6e5a-3f5e-4d85-83b5-b28c3444ca6c",
"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": "0bf72c8d-7fc8-4257-b356-41960c326099",
"db_country_code": "sample string 28",
"feelist_id": "84a5882c-d605-4120-9e71-8b6c239dab13",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "0cf718e5-b069-4af9-87e3-dbcec50d56e0",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "055db1fc-8a3d-4b64-89b9-0afb6b50fd56",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-05-30T18:43:03.9118198+00:00",
"db_currency_id": "973f61ad-86c9-4def-be59-bf93b60e7bfa",
"db_currency_code": "sample string 10"
},
"company_type_id": "9436730d-3e45-46ac-9d28-64c4eef6e7bf",
"company_type_name": "sample string 32",
"company_type": {
"id": "8b68ea44-90f4-4279-8e21-143d66a77309",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "e3c18e21-fff1-49e6-9ccd-80e81f1fbf08",
"sales_organization_code": "sample string 5"
},
"db_language_id": "3f841d27-8618-4986-bb6f-f31e324a6680",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "a10a66a5-bc50-4279-8adf-5817d0d18792",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "5a22e243-391d-4ebe-81b8-e30c7ac4bf32",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "24084e86-fdae-44cc-badc-a2c8987ccb5f",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-05-30T18:43:03.9118198+00:00"
},
"company_sector_id": "1b8e93d6-91a7-415e-ad0d-1869bbeebdbc",
"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": "d09a5cf4-ed58-424b-bab8-cf18f2513b94",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "58655ee4-41bd-4ae4-be6f-2dd27fd5b041",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "d2b9e1ad-bcd6-428c-9093-8817a17c376f",
"account_manager_user_code": "sample string 56",
"company_status_id": "4ab79117-4cdb-402f-81c3-67dac725cedf",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-05-30T18:43:03.9118198+00:00",
"id2": 60
},
"db_language_id": "265bdee3-6d45-4df2-86c1-77b1a13ffb87",
"db_language_code": "sample string 7",
"db_title_id": "a9bfa51f-764c-4e13-a84a-162ebb1db868",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-05-30T18:43:03.9118198+00:00",
"create_date": "2026-05-30T18:43:03.9118198+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-05-30T18:43:03.9118198+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.