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": "47028d73-93fa-4a37-be7c-d03a9f5cceff",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "a89134d0-bd2e-4031-ac76-335e2bf8ea89",
"company_code": "sample string 5",
"company": {
"id": "ad65676f-a2f1-4c4c-b2b7-43c1f5da71cc",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-08-11T06:22:43.3861264+00:00",
"sales_territory_id": "116df61b-27ac-4b84-8836-2451ff7f2ccd",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "0645b0bb-0653-402b-88c3-78731de6f560",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "0d0e4da0-9094-4bab-b90e-e388e8a37b01",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "8ff06e5a-9e4a-40ec-a0fa-b5ab7b3d31e5",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "bdb556c8-0b1d-4b3c-acb9-4ee6ab392710",
"db_currency_id": "c8c77826-01ac-4e9a-b6d9-0b9381d3bfca",
"db_language_id": "56da2f0a-bc7f-43f9-98ef-b2c5ca20fe31",
"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-11T06:22:43.3861264+00:00"
},
"modified_dateutc": "2026-08-11T06:22:43.3861264+00:00"
},
"marketing_segment_id": "010eae8e-a2b9-4da7-ac0f-3c6c4f96e3f5",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "7f47de13-a46c-439d-afab-3e9b96aa90ef",
"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": "e1a7ecfd-e72a-4186-9b6d-06f663dd6470",
"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": "9f2d0dd1-213c-4c0d-b99c-636ba84fe087",
"db_country_code": "sample string 28",
"feelist_id": "e6caef51-cd26-4def-a17c-8da93bcfc06f",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "854da3fa-1665-40e9-acbb-2c43a8c34b5d",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "686604ae-945b-4f1d-abab-d00b94080e20",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-08-11T06:22:43.3861264+00:00",
"db_currency_id": "9ae9ed54-7bb3-434d-b4e5-fe0e203043f6",
"db_currency_code": "sample string 10"
},
"company_type_id": "b097e617-2dac-4113-aff5-ca8332c2c378",
"company_type_name": "sample string 32",
"company_type": {
"id": "bb51f38c-0049-411c-b340-f81613494d55",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "abd4b3e7-3b68-4b48-a77f-8f336dea109a",
"sales_organization_code": "sample string 5"
},
"db_language_id": "de04a536-8c6f-49d1-89c8-d96b773de83e",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "f783a061-3d6e-436b-a397-bd5383f181b0",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "9200855f-b067-4801-9bca-ffb2372d8b0e",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "5e7b2027-c549-4ebe-bd9d-45bbb7800a0e",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-08-11T06:22:43.3861264+00:00"
},
"company_sector_id": "43d410aa-c807-49bb-91a9-1af82d8a5310",
"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": "ceb2a721-1995-47b0-aea9-0deb996c1d43",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "4e7a483a-a421-4d0b-907f-88c3fe801221",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "9b441ba7-bd21-4f7a-96df-6dc84821b530",
"account_manager_user_code": "sample string 56",
"company_status_id": "296e3b70-7fec-47d7-9562-46fa05d29269",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-08-11T06:22:43.3861264+00:00",
"id2": 60
},
"db_language_id": "72efb452-d079-47f2-821a-505a45d0249a",
"db_language_code": "sample string 7",
"db_title_id": "85926a26-0018-4467-9304-a0fc1d0a44f4",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-08-11T06:22:43.3861264+00:00",
"create_date": "2026-08-11T06:22:43.3861264+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-11T06:22:43.3861264+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.