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": "a3afb868-933a-49eb-b8ce-45a1aabf7aee",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "279ee2ca-3660-4df6-9654-9ba65f19b22a",
"company_code": "sample string 5",
"company": {
"id": "bac4e33c-5ea0-49ef-b3f4-2347f72fdfd0",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-09-13T21:04:38.1610107+00:00",
"sales_territory_id": "264a1aac-0ec5-4399-907e-28b41a5b85b7",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "de31daf9-7797-40b1-af71-66aa11be5375",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "47a87b01-ce04-42f8-8d4c-4d1a7d9a3037",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "43bf967c-4f8a-4861-a8f0-0c9b35a81198",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "ab963c93-c02d-4a89-9da5-d1af2af1c1f9",
"db_currency_id": "46282d12-f13c-464b-b94d-6516741353e3",
"db_language_id": "9b33c986-3aaf-4236-83ab-93c70c3ee799",
"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-09-13T21:04:38.1610107+00:00"
},
"modified_dateutc": "2026-09-13T21:04:38.1610107+00:00"
},
"marketing_segment_id": "37367b19-9f88-4046-8ae3-b107b9bb5246",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "22a2b89a-72f2-487d-b294-13f94d61fcaf",
"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": "af3367c2-aab3-421f-850a-f037ce0b3719",
"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": "60cbf482-72f7-46f2-83b6-75754e5c79c0",
"db_country_code": "sample string 28",
"feelist_id": "eaf6b18f-e436-4304-bf46-0e93b00796a6",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "cf71b9ab-9df8-4ed3-a33c-3ac5cbc2ec60",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "efdd4243-fc97-41f2-951f-998bdb1e65d8",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-09-13T21:04:38.1610107+00:00",
"db_currency_id": "fa0e674f-62aa-4710-8eb1-28893f259e70",
"db_currency_code": "sample string 10"
},
"company_type_id": "bf7bfa87-2957-41ab-a93c-df118a229804",
"company_type_name": "sample string 32",
"company_type": {
"id": "8d4a8569-a2b0-46ee-8572-2cf80ddf07b0",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2c9f9a1f-24e3-491a-b37d-4380990ce3be",
"sales_organization_code": "sample string 5"
},
"db_language_id": "7294f2bc-ce4d-4a20-8161-a0ad11cc172f",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "d5523548-7e85-4b7a-9a74-1285492b1a86",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "bca9b92a-439a-475f-8a70-c0e4126c5e59",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "19ac3d5e-9db3-4de7-b1eb-a806ce67f16f",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-09-13T21:04:38.1610107+00:00"
},
"company_sector_id": "de6643b6-b985-4c8f-af6a-f558b57673f9",
"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": "e2ea04b6-29f0-4751-8625-109852a4856a",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "8476f8c1-a0c5-4593-9145-05bea48d258e",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "f8945537-39c2-4a80-8295-1d3cee930649",
"account_manager_user_code": "sample string 56",
"company_status_id": "5f11e19f-c770-4540-9379-973eb710c036",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-09-13T21:04:38.1610107+00:00",
"id2": 60
},
"db_language_id": "bea48251-9bb8-4307-bfb0-cc782588a7c9",
"db_language_code": "sample string 7",
"db_title_id": "d700f48c-6e71-4c37-bd00-e4316717a740",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-09-13T21:04:38.1610107+00:00",
"create_date": "2026-09-13T21:04:38.1610107+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-09-13T21:04:38.1610107+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.