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": "4cbaacd8-8439-441f-ae41-0f7fc1b2898d",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "f69218a8-4fb9-415b-a103-b9bce473d2a1",
"company_code": "sample string 5",
"company": {
"id": "e40b2622-beb0-4385-b427-24d2f75b05e6",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-10-07T21:52:26.2367542+00:00",
"sales_territory_id": "a44b8f2e-e44b-4cf4-8501-7fc2c6866f06",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "b3bff73c-d50e-4af3-a951-fd12b19e09a0",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "973119ee-4207-420b-b645-a1a9eba78c4d",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "f7495da4-60c2-43f8-bc4d-49fc1583fa86",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "9878e584-7ae7-4288-8b61-b27a056f2265",
"db_currency_id": "b69ba790-3e89-4319-8a26-60c1190f5308",
"db_language_id": "06bf9667-1b5e-4fdb-ab7e-5f2bfbf4077c",
"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-10-07T21:52:26.2367542+00:00"
},
"modified_dateutc": "2026-10-07T21:52:26.2367542+00:00"
},
"marketing_segment_id": "f11ab5ed-eec9-44e5-8304-93101bc01ae3",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "1e066022-0258-4e5f-a406-dd0a55714e37",
"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": "4b329e22-009a-4399-8e71-2625225e177c",
"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": "262e943a-cc3a-4795-8703-03aa61be5e5f",
"db_country_code": "sample string 28",
"feelist_id": "0fbf0dfa-2aa9-4a2c-8a28-12c05cc35fa0",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "2baf9911-30e2-4bf4-956b-c70d64d8ac23",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "dee833f4-c77c-4709-bf3f-e17a5f9042a0",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-10-07T21:52:26.2367542+00:00",
"db_currency_id": "70402db3-d6c4-42c2-83d4-9cd2ef360a59",
"db_currency_code": "sample string 10"
},
"company_type_id": "109279d9-d257-45f9-b29f-3adde53cd13a",
"company_type_name": "sample string 32",
"company_type": {
"id": "34246c90-0b21-4f01-8c82-06632b831662",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "c38d9a9a-593d-4aee-b0ff-38f6306f58d2",
"sales_organization_code": "sample string 5"
},
"db_language_id": "f02944d5-f0e6-4df5-ab06-76df2ad31db8",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "bee500d1-41a5-4daa-971c-17248da49c12",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "4027af10-0163-4466-86fc-ac39dbf92499",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "4370c929-d029-443b-8afa-b62db480bc5e",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-10-07T21:52:26.2367542+00:00"
},
"company_sector_id": "5f018013-300a-4bfc-b0a5-364eff739da4",
"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": "cfbf25a0-121f-43eb-b452-2e2fda2296b7",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "68e31a76-dfb4-4717-8868-d462eb3f1275",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "209616b4-ce37-4452-91ba-7a1cb27708fd",
"account_manager_user_code": "sample string 56",
"company_status_id": "144788fc-6d52-4a77-a2b2-480618790bfa",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-10-07T21:52:26.2367542+00:00",
"id2": 60
},
"db_language_id": "2d731bb7-5f7e-4266-808e-8925959240e1",
"db_language_code": "sample string 7",
"db_title_id": "a91c28a2-b5cc-4497-a809-894994c7ca12",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-10-07T21:52:26.2367542+00:00",
"create_date": "2026-10-07T21:52:26.2367542+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-10-07T21:52:26.2367542+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.