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": "fd8c7fc5-67d0-4f7f-9f10-d2aa1819aa0a",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "aac4e494-32c5-4e0a-a10b-9d35566c0eb7",
"company_code": "sample string 5",
"company": {
"id": "1623eb80-928f-4106-b5a6-61ba3e80b65b",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-07-16T07:31:36.684652+00:00",
"sales_territory_id": "f51579fe-4746-4c6d-abf7-0806ad7d0c80",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "3360ac6c-1b00-41dc-a6ce-fa3622b46dab",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "bf377134-c84b-454e-89d3-25bda801d2ef",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "8ba0c69f-34db-4abf-9a3e-2783e34462de",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "0eeff14a-866f-42ba-9bf5-028527328c97",
"db_currency_id": "5d7cc5a5-662d-49a8-84f1-e42ca59b5a45",
"db_language_id": "a036975b-21f0-44e0-8edc-93e6070b8b8d",
"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-16T07:31:36.684652+00:00"
},
"modified_dateutc": "2026-07-16T07:31:36.684652+00:00"
},
"marketing_segment_id": "9c50ec88-6fb8-4ae9-a2dd-53e0d00eeec7",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "69a7dde7-b205-43bc-8881-b4cb6787593f",
"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": "dfa337f8-c94a-4d12-96e5-125bab747b68",
"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": "26fb48b8-978f-44cd-aeae-9a24574500e2",
"db_country_code": "sample string 28",
"feelist_id": "e352809d-57ea-4480-8663-634e9551c897",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "b6fd3e36-56a3-40b6-8096-36ef16e46994",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "f71d64c5-0a2c-4a69-a1e6-1ca07a361a8c",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-07-16T07:31:36.684652+00:00",
"db_currency_id": "e62604c4-445a-4de4-8c0d-cdd51a361b87",
"db_currency_code": "sample string 10"
},
"company_type_id": "e2e92fff-b439-4e42-9244-17068f60423b",
"company_type_name": "sample string 32",
"company_type": {
"id": "1549b5fa-4ce1-4edb-89fe-e6a8b4663982",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2a4818f4-7f68-48c6-801f-47410148f4b5",
"sales_organization_code": "sample string 5"
},
"db_language_id": "dd55d796-319a-42ea-b32f-f58623ca7601",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "30305f01-8cfd-4f7b-b343-c29eda309d7e",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "f545a1bc-2646-483b-8de3-859f04faeb98",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "6eecfb2f-85c0-48da-8bdc-c3b3db2970b2",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-07-16T07:31:36.684652+00:00"
},
"company_sector_id": "9ab4bfab-0aa2-4017-be64-1d90b6f1ee77",
"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": "db4da5f2-e49a-4c3c-8fcc-50d89b77136c",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "b0911422-419d-4ba6-85d3-0fe818203080",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "92220271-d493-4cae-83ae-2ba9728cd1d4",
"account_manager_user_code": "sample string 56",
"company_status_id": "37e2b9a3-622a-495c-8da5-d06ffd35b077",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-07-16T07:31:36.684652+00:00",
"id2": 60
},
"db_language_id": "6727b5da-5f87-4e9f-b214-733d0d13aec3",
"db_language_code": "sample string 7",
"db_title_id": "a811c397-bc4d-4130-8b3c-953b3c8bd0af",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-07-16T07:31:36.684652+00:00",
"create_date": "2026-07-16T07:31:36.684652+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-16T07:31:36.684652+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.