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": "3eb22f0a-e76a-43f0-aa2d-57fc8b972fa7",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "80a07fab-ecdd-496f-aa17-5e1579d03439",
"company_code": "sample string 5",
"company": {
"id": "d49bef1f-4f50-454e-943d-b71e96344442",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-08-30T17:13:38.3376587+00:00",
"sales_territory_id": "cc812371-2b60-4713-bab0-2fc2f3568257",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "1ca98d09-0a19-4eb2-a706-0b7d5f9c0554",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "a7501ded-84f5-492d-96e7-b7cec615680a",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "2086aadd-1b36-42de-a50a-0e1f325043dd",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "1ba66089-bf40-46f3-be36-0d9582e428e1",
"db_currency_id": "91b483b5-a93a-4fe1-b3aa-e5706729697d",
"db_language_id": "232612bc-4859-4946-ace1-125b58ed97c4",
"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-08-30T17:13:38.3376587+00:00"
},
"modified_dateutc": "2026-08-30T17:13:38.3376587+00:00"
},
"marketing_segment_id": "6b599363-1699-4892-acb8-c1877f926c3c",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "ee7bf915-7d14-4379-b81b-e3045355f978",
"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": "bc6f2faf-d04e-496e-9ee8-8bca5fa18e31",
"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": "8aeea8e8-b075-4aa9-975d-6ae83eca9830",
"db_country_code": "sample string 28",
"feelist_id": "3de20abf-1798-4044-b448-9156d2ff2dc5",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "3356dc1e-4955-4108-8ccd-ba19ce7477bc",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "ce990d41-142d-462b-8dea-30f16666713a",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-08-30T17:13:38.3376587+00:00",
"db_currency_id": "2804c1eb-156f-448b-be8c-e45e8bdd9eda",
"db_currency_code": "sample string 10"
},
"company_type_id": "0888f4e5-bce8-4daa-a2b3-7e4be00558c1",
"company_type_name": "sample string 32",
"company_type": {
"id": "118bc34c-729e-4e50-ab36-e68a3d273939",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2bfe9391-84cc-436e-881a-db9cf6a29b8b",
"sales_organization_code": "sample string 5"
},
"db_language_id": "7d977b47-a358-4beb-94d8-4cdf705d9ef3",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "f267436c-03e7-4ee3-8868-f1b8fc627b0d",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "5a634972-e899-47c7-b1d2-d68ea4266e04",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "deca1f49-2b49-4c48-8293-1f671a6bccd3",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-08-30T17:13:38.3376587+00:00"
},
"company_sector_id": "ba63c078-e15c-4b1e-b97c-e37c91d8300f",
"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": "f828fe97-946d-443c-b336-c4c411c2d483",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "15101308-f3f3-42e2-b499-b40f9e9fc7c5",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "3ee7e0f9-a23c-4c36-9188-4f359811f2ab",
"account_manager_user_code": "sample string 56",
"company_status_id": "feb2d220-a947-44ae-85af-8f5b95da0888",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-08-30T17:13:38.3376587+00:00",
"id2": 60
},
"db_language_id": "d5a63b13-fa6c-423b-8059-fc1359f06c56",
"db_language_code": "sample string 7",
"db_title_id": "70fa5fc1-bb0e-456f-b849-cf6b797c1535",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-08-30T17:13:38.3376587+00:00",
"create_date": "2026-08-30T17:13:38.3376587+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-08-30T17:13:38.3376587+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.