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": "8d9867f5-835f-488a-a0f3-afb6ab68fdb3",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "30c376f9-4a6e-45b9-9170-a37b1b58c119",
"company_code": "sample string 5",
"company": {
"id": "d47d8799-8913-4a3e-892a-a4e2685d317a",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-11-13T16:19:04.0571324+00:00",
"sales_territory_id": "b0e84956-24a6-4e45-8409-024d6aa3a841",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "8f5fe944-1a92-4672-b8f1-591c2e005486",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "5ac8cd53-b95d-4a52-9cc8-9836ee7d9848",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "8f7fc746-d8eb-49a9-8f65-cb6149988d98",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "6528afcd-3741-4dfb-bac6-e3e1601b3441",
"db_currency_id": "a4743b1b-a340-471a-9d75-46542fd369f6",
"db_language_id": "e2ec12c8-7051-4e4e-888a-1f9adaf8225f",
"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-11-13T16:19:04.0571324+00:00"
},
"modified_dateutc": "2026-11-13T16:19:04.0571324+00:00"
},
"marketing_segment_id": "745336f9-5588-4c39-84a3-14c336da02be",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "8055c88d-8352-45e8-b735-0499016650f8",
"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": "d917cd88-b031-4beb-b497-24e53f0ddea7",
"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": "a0d6683d-40af-464a-80f3-c4b5254b75ab",
"db_country_code": "sample string 28",
"feelist_id": "5cdb2c33-b2f9-4c8e-9e46-2828cada75b5",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "b61d624e-b064-4ba7-a787-04681b5a7f93",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "dbea9e02-ff66-47b2-abc7-12a753795871",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-11-13T16:19:04.0571324+00:00",
"db_currency_id": "0ccd0414-8819-4f1c-b731-aaff3ca5a2f1",
"db_currency_code": "sample string 10"
},
"company_type_id": "42757871-49ce-4c7b-9fd9-68f0f8db6514",
"company_type_name": "sample string 32",
"company_type": {
"id": "36ff92e7-b190-4a8d-ad92-456d4924a155",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "c49ca13d-4b44-4756-b76d-a913d55a7283",
"sales_organization_code": "sample string 5"
},
"db_language_id": "4e212f79-70bf-4710-8b3c-40a32cedcf6c",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "75affe6a-bb93-4c39-8e21-aa4c039e0c76",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "279ec199-a8af-4ebe-a514-c2fc8a57b7ee",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "b89a953d-6530-482d-9190-fa067244d1e8",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-11-13T16:19:04.0571324+00:00"
},
"company_sector_id": "cb057fc5-0d70-45eb-8cbe-5797bf8e29a2",
"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": "ab4d3dc5-9ff4-46a5-abf4-0f28ef254935",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "e66f15b4-ee16-4f7c-8dae-117a20b56147",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "f5130e63-a0b7-432d-8a71-d66ec4ce29ac",
"account_manager_user_code": "sample string 56",
"company_status_id": "0a6845dc-402d-4d92-80c9-f6a81507bb1c",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-11-13T16:19:04.0571324+00:00",
"id2": 60
},
"db_language_id": "aa03d19a-2c36-4a5d-be9f-cee5f360681d",
"db_language_code": "sample string 7",
"db_title_id": "c5c5bba3-1848-45b8-a256-d177b3607100",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-11-13T16:19:04.0571324+00:00",
"create_date": "2026-11-13T16:19:04.0571324+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-11-13T16:19:04.0571324+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.