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": "f5bd94c0-33c3-422f-b1d3-a70e72806254",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "38eebc7b-5236-452b-adf3-5cba1afac53e",
"company_code": "sample string 5",
"company": {
"id": "35d0f72e-1e5f-4025-bd34-bd24041e647d",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-07-01T19:37:56.128194+00:00",
"sales_territory_id": "10b2c6a0-db3b-4828-a1d4-a2785a283e71",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "19c786d7-ae0c-4e5b-94b1-ada7ac11b957",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "823b199a-eaf8-479f-8987-b4a14b9fa328",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "6b9ee028-0859-4ab9-8f68-56aae84f7f48",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "a01669b8-6567-4e67-8368-afad9dfba3d9",
"db_currency_id": "40002f16-e321-47c6-874c-bd717174710e",
"db_language_id": "2f242023-085b-4111-9978-08ecc7b29904",
"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-01T19:37:56.128194+00:00"
},
"modified_dateutc": "2026-07-01T19:37:56.128194+00:00"
},
"marketing_segment_id": "db95cdf4-7b49-46fc-a144-3948d4da49b5",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "4ed940c7-4dfd-4cc0-9407-c14ac1d14661",
"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": "bdaabe1f-2eaa-4988-b3b7-03ff22a614ac",
"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": "1f8f109e-bb09-4e04-8f07-cf645bf2f368",
"db_country_code": "sample string 28",
"feelist_id": "868ec9fb-f75d-442c-9e2d-164e9bf7b963",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "0b4ca71e-02ce-45f4-b4a9-92d9cc03018b",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "2ce4422e-d035-4a23-ae66-4f9fe082c487",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-07-01T19:37:56.128194+00:00",
"db_currency_id": "2f9350ff-1032-4f24-9daa-5f44e88a0383",
"db_currency_code": "sample string 10"
},
"company_type_id": "cc918661-9cca-4774-b44d-135fd015a56f",
"company_type_name": "sample string 32",
"company_type": {
"id": "a7cc697a-56cd-4f5e-8434-8985f58b8853",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "7de972fd-37ae-4653-a314-4e019e683743",
"sales_organization_code": "sample string 5"
},
"db_language_id": "ca9bda3d-367d-4dba-a663-ae228551e834",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "ee4c7791-2d7f-4537-b0b7-61ac373fcf48",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "d6273243-bbc7-4b6a-9be1-7167051f04da",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "06a4115e-3ef4-4ebd-8245-3e4a71082733",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-07-01T19:37:56.128194+00:00"
},
"company_sector_id": "3308dc0e-8b38-4db7-a597-35c11bcdbb5e",
"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": "745f13a9-7e89-4da5-ba8b-9e08716a2825",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "77c8f15f-1473-4ef1-9c0e-c1b467723613",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "59b2fe54-5f05-4bb7-8cc5-2bb465c47078",
"account_manager_user_code": "sample string 56",
"company_status_id": "4bd978ac-f037-49f7-b9cb-387062b1fd06",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-07-01T19:37:56.128194+00:00",
"id2": 60
},
"db_language_id": "6d6fe71f-0c98-43dd-85c9-f1ab52aafde1",
"db_language_code": "sample string 7",
"db_title_id": "34644611-0f83-4569-846d-cdfc795447ed",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-07-01T19:37:56.128194+00:00",
"create_date": "2026-07-01T19:37:56.128194+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-01T19:37:56.128194+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.