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": "747eef4e-b06a-46c8-ae47-cb37786a128a",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "cb926b43-1a2a-42a2-b56a-6a08175f6d33",
"company_code": "sample string 5",
"company": {
"id": "63786f9c-c054-4f27-b703-4a49e38829a2",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-04-18T08:59:02.6609928+00:00",
"sales_territory_id": "3938fd18-5885-4603-95d2-18a34f608b62",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "ce60e0d6-9610-4b53-9485-3fb4cdf421aa",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "4b117d47-8e77-4509-9a8a-34418e571184",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "4b05f0fb-ad57-4634-a346-e31ab059cbae",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "0f6f01c0-828e-4e20-9b03-4f1099174a8e",
"db_currency_id": "43421ee6-550b-4f95-844f-8c62a1f284f1",
"db_language_id": "0c012a13-e8c4-4425-841c-3ed32c173c9c",
"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-04-18T08:59:02.6609928+00:00"
},
"modified_dateutc": "2026-04-18T08:59:02.6609928+00:00"
},
"marketing_segment_id": "bd0716f4-8e1d-46a8-b3d8-91dcc6c8800c",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "32c3c317-8e37-45bb-815c-15d91dcef9ab",
"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": "c1b27a98-22fa-47a4-8c9c-0c7b63fe21bc",
"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": "47fe1482-6ca6-4128-b68c-f4b976ff0be9",
"db_country_code": "sample string 28",
"feelist_id": "df9f0ca4-dfc7-43e6-b009-7eda5a92051a",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "aad3bfb5-a1b1-4678-91fd-ab716ac26a19",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "b3dd499d-5ff9-42c0-9ab6-f910973cae91",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-04-18T08:59:02.6766221+00:00",
"db_currency_id": "c573e63a-fe85-4c70-b4fe-abff234609d4",
"db_currency_code": "sample string 10"
},
"company_type_id": "9405977a-194c-4c63-a3a2-573ee900b399",
"company_type_name": "sample string 32",
"company_type": {
"id": "63e4c2d4-7ac9-4b3e-bf69-4c682ee46718",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "3c3ced9b-dc79-42af-8477-c93ca92c15e2",
"sales_organization_code": "sample string 5"
},
"db_language_id": "047ba156-ec95-47b1-af81-053c5226c1a2",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "9f9d1120-a908-4ff4-b346-2ce4e46c7b79",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "bcdef43e-adcd-43af-9ddd-01209afcc126",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "02e95dd3-a32f-4a47-8d68-a46ea769fb2c",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-04-18T08:59:02.6766221+00:00"
},
"company_sector_id": "3b0208a7-ab96-409b-a054-c7f634654d06",
"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": "260e42ac-005a-4057-a1d2-6e9df8b94d87",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "99ae1e36-9766-42a5-a835-6323007ca925",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "1e5d14ec-5b8d-4cff-9d74-18bdd15460d2",
"account_manager_user_code": "sample string 56",
"company_status_id": "2a4db1dd-f97a-4c7e-a79a-8a4b46e8dc40",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-04-18T08:59:02.6766221+00:00",
"id2": 60
},
"db_language_id": "55473dc7-bb16-4def-8731-d80c5eb7566e",
"db_language_code": "sample string 7",
"db_title_id": "b00fafb1-6d3c-4ca3-9c24-94ddcfed46d5",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-04-18T08:59:02.6766221+00:00",
"create_date": "2026-04-18T08:59:02.6766221+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-04-18T08:59:02.6766221+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.