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": "3e63e36a-1f2e-4d77-b8ae-0558c4e666ee",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "73923db4-f6c7-4aea-a285-bfccce7c726a",
"company_code": "sample string 5",
"company": {
"id": "7f1b0ef7-d395-432f-ae2a-add76844072e",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-06-01T11:16:10.6833853+00:00",
"sales_territory_id": "e6ad5664-b59a-4f0f-858f-fa5d5a05eaf7",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "d42a0f15-733e-4e8c-9181-8c73151d144f",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "4be8d5f7-c422-467a-8365-d9e25b7f995d",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "9d02e135-f9e2-497c-8325-0ff98cff5992",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "7aed879e-6444-4e27-9f50-ffd8cd1881a5",
"db_currency_id": "88f0aa2d-70fc-4c6e-b732-4502c9662d8e",
"db_language_id": "5e05e6a7-36eb-43ef-b54a-12087b0b89be",
"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-06-01T11:16:10.6833853+00:00"
},
"modified_dateutc": "2026-06-01T11:16:10.6833853+00:00"
},
"marketing_segment_id": "64feff50-29a6-4f29-8a25-5098eea019cb",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "466bac9b-0169-41c1-8196-1f5c0908652c",
"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": "daf001a8-c9e9-4bfd-a865-13864967f53c",
"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": "1d20ccd6-1fec-47a7-baf2-db921ccfa0c6",
"db_country_code": "sample string 28",
"feelist_id": "6efdc8f1-15f1-452f-90e5-aee02c048e09",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "dd0ae18f-43a9-426a-92bf-8436913f5995",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "da5c6fa7-3eff-4f86-9e13-37ff65c060e3",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-06-01T11:16:10.6833853+00:00",
"db_currency_id": "8d47a6cc-faaa-483d-9391-ea5c630b773f",
"db_currency_code": "sample string 10"
},
"company_type_id": "5b290e9e-423e-4042-832a-bba5ff12c86a",
"company_type_name": "sample string 32",
"company_type": {
"id": "57de86d3-27e6-4c7e-a67f-cb73763fb0b7",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2bc35fe6-2e21-4c1c-a553-f55301afaa08",
"sales_organization_code": "sample string 5"
},
"db_language_id": "4d7ee85e-8ac4-4325-b2cb-733b444672ba",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "2daf0b82-d1b5-409c-8330-a461a66ea7c8",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "635ac809-6ad5-4a0a-8ba9-c0fa4ef59471",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "c3bd6f75-aef8-43a3-8503-845c9db3decd",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-06-01T11:16:10.6833853+00:00"
},
"company_sector_id": "59c38223-786b-40eb-915d-913c58b4462c",
"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": "328d6c60-08d8-43f1-8732-c2115ed7e0cc",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "737ccc30-0c84-40d4-9214-d9ea8d459629",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "7c093ae3-65da-437b-8258-afa04d826b07",
"account_manager_user_code": "sample string 56",
"company_status_id": "819abb2d-ed71-40d0-8db4-ad84ef39ca7a",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-06-01T11:16:10.6833853+00:00",
"id2": 60
},
"db_language_id": "b77633ba-cd4c-419f-b323-83aff11eaacd",
"db_language_code": "sample string 7",
"db_title_id": "fd2b450b-b6a5-4262-85f2-d55ed83ec4cf",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-06-01T11:16:10.6833853+00:00",
"create_date": "2026-06-01T11:16:10.6833853+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-06-01T11:16:10.6833853+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.