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": "9faa39f4-8804-40e4-ba69-e2e6ac571662",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "9799564c-ae78-4f81-baa5-43f38e946314",
"company_code": "sample string 5",
"company": {
"id": "5f795cb4-94a8-4f4f-9c3b-87eea59832ce",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-05-31T21:21:41.8107062+00:00",
"sales_territory_id": "e527cde5-01d6-4e55-a93f-1b90552e3eec",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "97ffa607-e0c7-4358-9bea-c6ac5be33cf6",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2d5ed748-0825-42d0-a11a-f2fe63f39217",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "9d2675a7-d52a-415e-8898-891012b0ff4b",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "bceda26a-6d06-44ae-9f28-4fcdbbc087be",
"db_currency_id": "bed5392e-b811-4b82-ba7c-8b3babdd93eb",
"db_language_id": "1311de20-5cb3-42df-a49e-a989e795aa65",
"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-31T21:21:41.8107062+00:00"
},
"modified_dateutc": "2026-05-31T21:21:41.8107062+00:00"
},
"marketing_segment_id": "868e445a-065c-42d9-b121-6db5c7d0d314",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "b6dacb55-346a-43db-b46c-c3932be6cd10",
"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": "614a5c53-f65f-49e9-9f92-79a39c633371",
"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": "e4e1b591-818b-4ad8-9fdb-0a2eb807141e",
"db_country_code": "sample string 28",
"feelist_id": "9abe8c78-452c-4608-9c5d-0a369679a7bf",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "380dda16-1b04-4644-8436-1e8d3172575b",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "63dfe62e-1698-4b6d-b3ae-73f0eba5e659",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-05-31T21:21:41.8107062+00:00",
"db_currency_id": "d6c5e5c4-bf39-4122-b110-f851e2322a9a",
"db_currency_code": "sample string 10"
},
"company_type_id": "9ccd5fb0-00b5-494f-88fe-1e90b6b31865",
"company_type_name": "sample string 32",
"company_type": {
"id": "f18c399c-5d22-4b90-aa1c-d8af9d636bfd",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "1218526f-12fb-4f71-92ec-bd2952451b53",
"sales_organization_code": "sample string 5"
},
"db_language_id": "33677952-c258-4b10-a031-383fed7a3c20",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "87c25e12-ee22-453c-961a-163f4dffa8bc",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "895f7025-89f3-4099-91ff-6eec2a341dca",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "a39d4324-7823-4dd3-b095-132d760e3f0f",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-05-31T21:21:41.8107062+00:00"
},
"company_sector_id": "23fe768e-ae32-4f93-8fb4-a54d0af33649",
"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": "7484972e-261f-4995-aeb1-0715d3616e9b",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "5e4512e6-3dc2-47cb-ad58-122a9611a7e7",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "bf409d0c-17f7-4103-b95f-5de5371e28c6",
"account_manager_user_code": "sample string 56",
"company_status_id": "a94f325b-d66c-4454-8810-94f4b125c783",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-05-31T21:21:41.8107062+00:00",
"id2": 60
},
"db_language_id": "d030e99a-246c-4b8a-9831-d778789d668c",
"db_language_code": "sample string 7",
"db_title_id": "b875d899-ada4-4281-b9df-be033ddc7683",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-05-31T21:21:41.8107062+00:00",
"create_date": "2026-05-31T21:21:41.8107062+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-31T21:21:41.8107062+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.