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": "e05ea219-2a75-4f34-8787-26ffe1e06d60",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "7fcac4f5-64ad-4e1d-b649-e5e77f3cf2ea",
"company_code": "sample string 5",
"company": {
"id": "8282961c-ba1b-4871-a739-e05e86a6d402",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-07-03T20:07:50.6777602+00:00",
"sales_territory_id": "8747ccc4-3c2c-4f1a-ac79-c4a7dc230318",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "afed8c0a-747e-4f97-90bb-f3b3bfc83cfb",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "0272430e-fc22-440b-981b-2b5cec5414b4",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "4bb0b500-c96d-4d8d-b812-75cf66f9ff8c",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "e2fdb6b5-4aaf-486d-ac28-c7b47eb34257",
"db_currency_id": "903790be-274e-424b-804f-94d6e254d41a",
"db_language_id": "240fef9f-d93a-43b6-adbc-b9e23dc3b752",
"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-07-03T20:07:50.6777602+00:00"
},
"modified_dateutc": "2026-07-03T20:07:50.6777602+00:00"
},
"marketing_segment_id": "0e77962e-7bbd-4958-9a7a-da4b70379da7",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "fd5a618e-92dd-4993-b252-03933ae5b88a",
"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": "0ffc2c08-0f0d-4fa4-a584-e0bf7a67524c",
"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": "db0f820d-3071-4571-a6ba-6d7af73b11a3",
"db_country_code": "sample string 28",
"feelist_id": "2edb3fc2-2811-4e52-9519-7e983b002d57",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "193fea4f-3d05-4907-8dab-aa773a5be4f9",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "9b189570-ec36-4eb7-b67b-57b6a051f0d0",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-07-03T20:07:50.6777602+00:00",
"db_currency_id": "a3e0dc8e-b947-4239-a27a-dabc4ea853a9",
"db_currency_code": "sample string 10"
},
"company_type_id": "0d99ce4d-155c-4326-9fbd-fcf928dedbdc",
"company_type_name": "sample string 32",
"company_type": {
"id": "d274aa6c-2f9b-4ec4-9317-0554b17d3713",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "4fd08cef-f63c-4510-b1d5-647f7104c6b5",
"sales_organization_code": "sample string 5"
},
"db_language_id": "98c5baad-6431-45e9-ba5f-4b821faf3cc1",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "4d341452-4757-483c-831c-786ec46de8ff",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "d506763f-8843-410e-b8d8-cdd6ad5c3fe8",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "be720abe-8bf7-4170-a77f-ce60826734da",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-07-03T20:07:50.6777602+00:00"
},
"company_sector_id": "bfcf8615-22f1-4c21-99af-9c6f0e0e01aa",
"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": "fb8d33fb-406c-4b72-b6f8-1e5a7a144379",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "567a114a-9c3d-49d8-9569-76a305ce86a9",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "44aec274-6b61-4965-943a-5a0f3c416bb3",
"account_manager_user_code": "sample string 56",
"company_status_id": "ff7aa256-d9fc-4fe6-b10f-abd4d1a98e59",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-07-03T20:07:50.6777602+00:00",
"id2": 60
},
"db_language_id": "10e28226-b21d-4799-b424-f13c919904be",
"db_language_code": "sample string 7",
"db_title_id": "31620889-cff9-4928-9e3c-ed4345c1e13e",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-07-03T20:07:50.6777602+00:00",
"create_date": "2026-07-03T20:07:50.6777602+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-07-03T20:07:50.6777602+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.