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": "7a50b4d9-6e7d-4195-a3f3-8e3eea3c2779",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "8352e364-18ff-4536-b538-6645d87f3b10",
"company_code": "sample string 5",
"company": {
"id": "1386a83c-9964-45f8-970d-c139f8bf6b0a",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-08-16T11:19:25.7135536+00:00",
"sales_territory_id": "9b9c301f-ab67-427a-901f-b014e23a6568",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "eb0a72cf-50fa-4b9c-9f84-5dc88fb3bf13",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "1970df7d-f001-49c6-97f3-8c8701408974",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "6593d863-8c92-4e0e-a221-e2bd8a6a6f06",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "c1202046-58e6-4af0-ab6d-fd7bac235c7f",
"db_currency_id": "88c2dff3-398b-4ca4-aee5-fcf853d0a709",
"db_language_id": "e4933c31-683d-45a2-8096-21410af510cb",
"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-08-16T11:19:25.7135536+00:00"
},
"modified_dateutc": "2026-08-16T11:19:25.7135536+00:00"
},
"marketing_segment_id": "385b8d0f-c7aa-4824-bd8a-4f6cd2ebbbe2",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "16b80588-7519-4fa0-9720-5f4246ba98b3",
"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": "8248e0e5-3dfe-4059-a533-bb76846e8e03",
"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": "eac262db-5022-41c0-9baa-8a2cf1c49460",
"db_country_code": "sample string 28",
"feelist_id": "384e416c-4f7f-483f-a44f-4cfb8c57a90a",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "5340b9ed-b574-41e0-9f29-6a77fbc1c309",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "6824a509-de93-40ac-8b54-d1892ed8a5ae",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-08-16T11:19:25.7135536+00:00",
"db_currency_id": "69c79b5a-790e-4309-8e26-7b650b019430",
"db_currency_code": "sample string 10"
},
"company_type_id": "6da1439b-6d43-4eb0-9297-468665a39b91",
"company_type_name": "sample string 32",
"company_type": {
"id": "19e1ba10-de45-4d1a-87f9-9e3151e52570",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "6541a1d1-eb2a-4d84-bf2f-f068d0c187fd",
"sales_organization_code": "sample string 5"
},
"db_language_id": "7944e0ab-d151-4d6c-9449-d551a43111b7",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "5405d165-7d99-452c-a589-42909ccfe88b",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "17b9b492-98a5-487e-b3fe-52cb126ccfee",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "31756d6e-a117-4cb8-8f85-65dea02e2c9b",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-08-16T11:19:25.7135536+00:00"
},
"company_sector_id": "db7b3969-d77e-455b-a171-069e232ce621",
"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": "a71f746a-5e5e-4c7b-af52-550293d2dd07",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "97658917-39a4-41bb-846a-6beb4d206135",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "77ec1ef4-3af1-4b65-8cbe-70a81c1980ca",
"account_manager_user_code": "sample string 56",
"company_status_id": "2e901be0-92e5-4d58-b3ac-ff812416facf",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-08-16T11:19:25.7135536+00:00",
"id2": 60
},
"db_language_id": "7adb2701-e0aa-46c6-82a9-1ee4d5fff396",
"db_language_code": "sample string 7",
"db_title_id": "bc47f965-b7be-4745-8b1f-cc8ee1ab85e2",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-08-16T11:19:25.7135536+00:00",
"create_date": "2026-08-16T11:19:25.7135536+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-08-16T11:19:25.7135536+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.