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": "e459ec05-c464-47ed-942c-344f0d95f8ff",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "0d453781-b67b-44bd-8d59-324b96f21545",
"company_code": "sample string 5",
"company": {
"id": "f8d84684-e2c0-4fc0-85ae-ab99d8adade7",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-08-07T01:26:40.5955052+00:00",
"sales_territory_id": "4547ae9d-b7c8-4f23-89d5-c754cfbda42e",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "19f22266-67ff-41b3-9a9f-f177e2f398c2",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "ce5d2536-8574-42d0-a99d-422b187ff664",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "f47f0bac-f58b-4075-8d5c-802e4cd6dbcf",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "7a6a7a95-2799-436b-ba4f-c8e706494677",
"db_currency_id": "9b86bce2-4361-4f98-bbd8-ad82c09f5b30",
"db_language_id": "aa34ed85-0ec9-46a4-9625-0c1c32b9e6db",
"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-07T01:26:40.5955052+00:00"
},
"modified_dateutc": "2026-08-07T01:26:40.5955052+00:00"
},
"marketing_segment_id": "bb494d15-fec2-4c15-9e2d-bf2613cd5d71",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "f8059d62-6a8e-4b93-8ed9-25a88f48dd74",
"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": "d583ac8e-b5b0-4eb1-834e-5e02d0284a0b",
"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": "6408a541-8126-435c-9cdd-9aafdc554c74",
"db_country_code": "sample string 28",
"feelist_id": "8ce4bbbc-8898-4e5f-aeda-d399426a9615",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "3e7cce72-7fba-4a26-884c-120c8389baf6",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "4c5510d0-9ada-46d1-90a0-be5b475721d3",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-08-07T01:26:40.5955052+00:00",
"db_currency_id": "245bfc76-7733-4fb8-9e1d-c8df6d93bc12",
"db_currency_code": "sample string 10"
},
"company_type_id": "be2703cb-43fc-4e8b-a305-856dd2bcf310",
"company_type_name": "sample string 32",
"company_type": {
"id": "824f6c60-1103-49f9-a6a5-d5296be2b502",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "f069747a-ee76-4060-8300-8b473a7bc002",
"sales_organization_code": "sample string 5"
},
"db_language_id": "bcf1e01d-eeff-459f-81da-fbd9d947018a",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "f04d568f-0f4c-463d-a0f8-c909b938f496",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "a7ddb578-e454-4504-953f-bfec18a09aec",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "223ddc88-4905-4be5-b82b-f62d181a2d5d",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-08-07T01:26:40.5955052+00:00"
},
"company_sector_id": "88c20809-e955-438c-aa4d-ec097c0598e0",
"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": "7278ee1a-39e1-460f-a25e-47a9ea5605a5",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "86fbc84d-8800-4a5d-ad7b-036ad09eea7e",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "c53c883b-d36c-4c66-980d-c71d382dde35",
"account_manager_user_code": "sample string 56",
"company_status_id": "156ac59b-20e4-4092-a5ab-0c235a8f515c",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-08-07T01:26:40.5955052+00:00",
"id2": 60
},
"db_language_id": "c2ec390e-765d-4513-854b-e02667df8c1d",
"db_language_code": "sample string 7",
"db_title_id": "133da269-7de9-44e4-8bde-6cc2c3521fb3",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-08-07T01:26:40.5955052+00:00",
"create_date": "2026-08-07T01:26:40.5955052+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-07T01:26:40.5955052+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.