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": "144cf5be-13d4-4ebb-a0d1-9ad0e7110626",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "5b59033c-5005-4f49-b34c-1c97529603d8",
"company_code": "sample string 5",
"company": {
"id": "9be2d415-d25d-4150-bb9a-9e7cdc9d9f75",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2025-11-08T06:33:37.6902835+00:00",
"sales_territory_id": "ecf8034c-9353-4fa5-b231-15f1aff4f43f",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "9f9a8781-c65a-44e4-ba6b-7497997aac18",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "80cc1dbd-23e4-42b5-9da4-463f8f9c8acc",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "1bfb7c99-b598-4583-80cc-670711455d33",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "e59fa990-3c27-46ae-b849-35219c96fd1a",
"db_currency_id": "33961ad1-a26a-4d42-b4ef-6548bfe72b8c",
"db_language_id": "690f225b-848b-42d5-a989-a3463bc36549",
"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": "2025-11-08T06:33:37.6902835+00:00"
},
"modified_dateutc": "2025-11-08T06:33:37.6902835+00:00"
},
"marketing_segment_id": "c921ef52-f025-4aa1-9662-dd1bdf1d1926",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "d417b0be-295d-4232-8c30-5a41ce6a8dfe",
"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": "52c85351-ba43-4c3e-890d-982c17eb1d01",
"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": "60c9a27e-8c24-4b0f-ba7f-1782d8e6edce",
"db_country_code": "sample string 28",
"feelist_id": "5caf69ba-e65e-4292-bf46-0e84a86874bd",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "e9b019c7-6ded-4f92-81b1-a9301ffc2f96",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "313d3c63-d99a-4cc6-9046-fbe676b2adb2",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2025-11-08T06:33:37.6902835+00:00",
"db_currency_id": "57c8203b-b81a-4b8e-955d-6b5c4106ada2",
"db_currency_code": "sample string 10"
},
"company_type_id": "c099ecbc-b566-466e-bfd2-40df283dc924",
"company_type_name": "sample string 32",
"company_type": {
"id": "5e619120-5df6-461d-8406-1919edf4ef5e",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "13a03fee-7c5f-4bbf-8979-17aeae646ae3",
"sales_organization_code": "sample string 5"
},
"db_language_id": "54036f4b-45e1-4ff6-984d-6a93ef22c128",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "72d39698-472b-4e06-b090-066a9fce6dfd",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "5c737262-965b-4013-8b79-c07620d8d461",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "c73b6cd8-2100-4009-bdac-d7e3f1f50108",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2025-11-08T06:33:37.7059235+00:00"
},
"company_sector_id": "9ca12232-b01a-4f63-b19b-c339e6397a6f",
"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": "17a40fc8-fdb3-4d83-9df4-0b7b59015a13",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "e25ee2eb-78ec-4bd7-9b30-eeb71300d86b",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "23459562-8223-4927-b9a3-8fb1ec3609d4",
"account_manager_user_code": "sample string 56",
"company_status_id": "c62db65c-926f-434a-814a-88a6e16bf78d",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2025-11-08T06:33:37.7059235+00:00",
"id2": 60
},
"db_language_id": "6f2d9a8e-7cc1-4e4e-af6b-138fd63faa47",
"db_language_code": "sample string 7",
"db_title_id": "f19186b2-e358-4581-94ac-4612004993d4",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2025-11-08T06:33:37.7059235+00:00",
"create_date": "2025-11-08T06:33:37.7059235+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": "2025-11-08T06:33:37.7059235+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.