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": "a7bdad16-47c2-4d9d-b161-ab3a5d67de30",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "26242dc7-8862-418a-be54-d9405d72e1dd",
"company_code": "sample string 5",
"company": {
"id": "19b3c39f-20d3-4e59-9d45-59995acb914c",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-07-12T04:25:02.617537+00:00",
"sales_territory_id": "b7eaa7b4-2b79-456f-ab70-3569a8175431",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "9b61715e-6ca8-4f76-967c-0d1daead63f4",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "e90e56ed-49e7-45c1-bf4f-593fa0bf8a88",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "d44748f1-b52c-45b3-9dbf-2a3798381557",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "4c955bf2-5328-4e23-a30b-822ed6cf5505",
"db_currency_id": "cb2262b3-d5f7-4403-99f8-733a2c976a32",
"db_language_id": "a8370ec2-c422-4240-8193-0fb99e9ac871",
"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-12T04:25:02.617537+00:00"
},
"modified_dateutc": "2026-07-12T04:25:02.617537+00:00"
},
"marketing_segment_id": "1f1f6f96-a67e-43c5-ab09-dde3bb42f54d",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "fed14c8b-2a95-4156-ba0d-924d1afafc98",
"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": "2c167d05-3e18-4b9c-b90b-dd2950a49463",
"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": "dc811652-25e0-4b46-98a1-231633e8452a",
"db_country_code": "sample string 28",
"feelist_id": "ea08bafb-1b13-4012-ab52-566f3529acba",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "d90c32b4-87ed-41f8-a33c-d9308c2fdeca",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "752932f3-40dd-496d-a44d-bc428672ff2a",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-07-12T04:25:02.617537+00:00",
"db_currency_id": "9c06cd69-ea4e-452f-8c67-6c5c7a499501",
"db_currency_code": "sample string 10"
},
"company_type_id": "a4d7fed2-8657-4113-aa87-bb1e37803378",
"company_type_name": "sample string 32",
"company_type": {
"id": "6db3ac10-9f32-4049-ba0e-aed1ef9cfbbe",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "f554bc29-e04d-4b6d-9a1e-94fd7b4e5e29",
"sales_organization_code": "sample string 5"
},
"db_language_id": "86077a7e-5a1e-4c8d-a8c8-5e38ad7f057d",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "bf39e850-d0f9-4dd5-a2f9-f88440c6cc84",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "5a1ab362-df21-4dd2-bfd3-fe6664eeb36c",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "0f4f6282-39a3-4978-962b-175468bd329f",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-07-12T04:25:02.617537+00:00"
},
"company_sector_id": "e4610934-ebdf-4beb-bffd-c5aba944966a",
"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": "38324e15-3a7e-44ea-9782-48a137bf2b24",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "89a2fb17-b6cd-4acc-bae0-bbe25a8fb6ef",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "64f261c0-b44b-4408-8663-f60ad22aef95",
"account_manager_user_code": "sample string 56",
"company_status_id": "a61af8fb-8990-4ed4-a508-65c26f0f4ed1",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-07-12T04:25:02.617537+00:00",
"id2": 60
},
"db_language_id": "498b9170-89c4-4e0c-8787-ce0813b54247",
"db_language_code": "sample string 7",
"db_title_id": "1bb85935-eac8-4658-be39-071212237027",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-07-12T04:25:02.617537+00:00",
"create_date": "2026-07-12T04:25:02.617537+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-12T04:25:02.617537+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.