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": "e0976b59-da76-43d9-8122-84a10f2030d0",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "800d841f-97d5-4378-903c-0809f6aa7f4d",
"company_code": "sample string 5",
"company": {
"id": "dc61ee7d-59dc-4dea-beb3-96ca26198b68",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-04-07T18:11:28.4661717+00:00",
"sales_territory_id": "67ff2db8-9531-48b6-b165-ba6e2ff7dea4",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "53170710-eac7-4f57-9c2e-53b7fcd07845",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "057f096c-69b8-4671-ad74-4bc13ff034da",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "4a0b0e40-b001-41d9-9df3-147a1414adcd",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "efce7e6a-732c-4cbe-980b-28495bb8b589",
"db_currency_id": "c799da4b-ae59-4560-8a00-14e462144dc2",
"db_language_id": "7184ab79-cdc0-4ef0-999f-f304c6206b6e",
"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-07T18:11:28.4661717+00:00"
},
"modified_dateutc": "2026-04-07T18:11:28.4661717+00:00"
},
"marketing_segment_id": "bbb0c113-26e5-418d-974e-c3b9e269590b",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "69197a6b-122d-4885-983f-ff321612d22a",
"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": "814bca08-d38a-41a9-a13d-3fd45d1cbcac",
"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": "20d2194f-f230-4011-9b4f-4d3c1012e1a2",
"db_country_code": "sample string 28",
"feelist_id": "d666fc59-bb3a-4a03-864c-c016e7cf0659",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "3d431e4a-af6e-4af4-bac7-89c7457edf0a",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "129bcb48-abd5-4b4f-b62c-e4dbffdc08f2",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-04-07T18:11:28.4661717+00:00",
"db_currency_id": "f42d7f5a-7ce6-4dd3-a222-dec0de10b021",
"db_currency_code": "sample string 10"
},
"company_type_id": "bee4a816-77ed-4b94-a068-f48a80b5f841",
"company_type_name": "sample string 32",
"company_type": {
"id": "7aea1aa0-813a-41c1-ad85-8f6f218fc6d3",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "9f6a37a2-cd28-4949-9b7a-d4b258e30e7f",
"sales_organization_code": "sample string 5"
},
"db_language_id": "511b2ee2-dd39-4a9b-bceb-3b03d59caae2",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "bbb90fd8-5673-4eea-a1b9-32b7f891b3a8",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "09934503-139e-48c0-90ad-ebfc73c51360",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "c22f9c21-e7c0-4225-b870-da42cacbc043",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-04-07T18:11:28.4661717+00:00"
},
"company_sector_id": "2fa51b65-965f-441a-ae47-078329b63557",
"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": "639fd02a-b437-4b9a-93c7-71bdd6f2ee8a",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "64387f35-3d8a-445c-a82a-e7f5b80da8f6",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "0f2b1ed3-ee1e-440b-b5ff-c1da906a403a",
"account_manager_user_code": "sample string 56",
"company_status_id": "a2b834f0-497d-409d-a54c-96afa7c11dc9",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-04-07T18:11:28.4661717+00:00",
"id2": 60
},
"db_language_id": "9118a4b3-a87c-451a-8165-f22ca3b5dfbe",
"db_language_code": "sample string 7",
"db_title_id": "09c50c1c-6282-4194-b150-22a45690b6cd",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-04-07T18:11:28.4661717+00:00",
"create_date": "2026-04-07T18:11:28.4661717+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-07T18:11:28.4661717+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.