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": "51832b42-9468-4378-8f96-1d9be8592f9f",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "505eca75-0344-44c7-be92-bc5af0b7fc30",
"company_code": "sample string 5",
"company": {
"id": "329b92f4-72f1-4d98-9fb5-4214737b873c",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-07-09T01:28:29.927159+00:00",
"sales_territory_id": "9d045f7b-2a2f-48d5-a234-600f1a17a63c",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "f9854d3d-4dc0-48e7-bd61-a1cd077163ec",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "9403d1d8-2390-44bc-8361-6b3a9ca1258b",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "a91fa62d-b537-4eae-89e3-84d0195bea60",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "2f0f1af3-4cd4-4f49-a697-e8a310ccb07c",
"db_currency_id": "bca0bca1-b48e-4f3e-a671-c7a7e16d2c29",
"db_language_id": "7105c41c-5efa-46db-99d5-507911de8e22",
"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-09T01:28:29.927159+00:00"
},
"modified_dateutc": "2026-07-09T01:28:29.927159+00:00"
},
"marketing_segment_id": "8b5f0fd7-fd1b-4150-99b2-6505edf418e6",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "8ed1ce83-ef54-4af0-a16e-bc7232b604fe",
"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": "ded9c383-87e7-45ab-b640-d2c8ebd4407f",
"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": "4d851397-cf0e-4e34-adbe-ea04f74bc7c7",
"db_country_code": "sample string 28",
"feelist_id": "f0224cd8-b6bb-4e39-bdcc-fde7f83ba2de",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "41d59b0c-9168-4a19-9294-6a88b1ab1581",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "6fcab9b8-2c03-4603-8d2b-5b0816e63418",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-07-09T01:28:29.927159+00:00",
"db_currency_id": "89614ba2-bffe-4c37-9093-b64c124f5477",
"db_currency_code": "sample string 10"
},
"company_type_id": "c14abc79-a597-4061-a4ec-dd450463e84a",
"company_type_name": "sample string 32",
"company_type": {
"id": "63a167e8-8fc4-4fff-9744-a7bd51e551c1",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "12826653-4678-4112-b982-2f3d06bfaa39",
"sales_organization_code": "sample string 5"
},
"db_language_id": "f1d08caf-4c90-4bd1-8311-303d09e154ac",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "20d5e23c-d230-4592-80c7-bd56a0fd2d58",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "2ffa9b13-fda9-46b6-b91b-939eb46930b6",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "a982afb4-1f15-45dc-aa82-e5b059363631",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-07-09T01:28:29.927159+00:00"
},
"company_sector_id": "cc4e618e-1546-4a63-894d-b4b0f056c73e",
"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": "bc814e91-ccb1-43e9-b4ca-95fdf9e828ed",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "0a744a09-41d4-48ac-a288-f2fffb71bc06",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "18b6b609-7b6b-4f02-be1a-fce349556321",
"account_manager_user_code": "sample string 56",
"company_status_id": "c9d36646-31e3-42da-ac23-e08a3a7f9b35",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-07-09T01:28:29.927159+00:00",
"id2": 60
},
"db_language_id": "4eaa9f36-8e27-46be-a3d9-b85125d8bf6f",
"db_language_code": "sample string 7",
"db_title_id": "ce1308be-0427-4a06-a4dd-d9f10fdf650d",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-07-09T01:28:29.927159+00:00",
"create_date": "2026-07-09T01:28:29.927159+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-09T01:28:29.927159+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.