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": "de068e29-e735-4227-b273-9175bb76a4a3",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "368c6f9c-85c8-419b-93ef-df227a78712c",
"company_code": "sample string 5",
"company": {
"id": "d5d2ef37-e419-4fb3-983b-1e1b71cc55ff",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-10-01T08:27:37.6661988+00:00",
"sales_territory_id": "3bfa1b54-abdd-49c7-8601-d5476b7b28f7",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "77376ee8-476e-478a-9bfe-bedeeec628ad",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "575a8809-4b8a-4fe8-bfa1-4eb72900e15b",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "2fecabac-393d-4bde-bff6-c6543e5f3aee",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "d4e81703-e480-401a-8397-0d2c00797dc9",
"db_currency_id": "0bdd7ba2-96c2-4a7f-a097-a9f9a9281171",
"db_language_id": "515273e0-0b35-4660-9f88-eb073c1e0683",
"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-01T08:27:37.6661988+00:00"
},
"modified_dateutc": "2026-10-01T08:27:37.6661988+00:00"
},
"marketing_segment_id": "ebaefc15-f0b1-4995-86d3-a6bc83f0c1c0",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "2ac4d117-80c7-4e5c-951a-e91e29abc943",
"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": "427e3884-2db9-4c19-bd78-3b190b879688",
"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": "e5698728-8d43-4ea9-aacb-4c55e5366ee9",
"db_country_code": "sample string 28",
"feelist_id": "939e55d0-5691-4292-b348-ceb25560d800",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "72a0b613-8488-43ba-b7c0-fc3be7c53abb",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "5283883c-3960-4fff-a2e9-b6b575d74905",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-10-01T08:27:37.6790494+00:00",
"db_currency_id": "b35cfbbc-15cd-43a3-8566-d57f748627fc",
"db_currency_code": "sample string 10"
},
"company_type_id": "ee6e05f1-c468-4ff5-83ad-8875d72d8a2b",
"company_type_name": "sample string 32",
"company_type": {
"id": "567270eb-3cfe-4b65-b950-4979cc1adf92",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "74ae2a2a-1bb7-4e1c-9a17-7aafe42d5fea",
"sales_organization_code": "sample string 5"
},
"db_language_id": "58b50c80-8bc7-417e-b7f0-75b7b475b051",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "442e9dd8-8495-4219-a169-0682edec316a",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "6fa83ca7-1128-421f-89c8-73f55a584b06",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "e905f3ed-1f8c-46c1-a222-7f04adab1a90",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-10-01T08:27:37.6790494+00:00"
},
"company_sector_id": "45191480-b3eb-4725-a736-cf83f7fc7ddf",
"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": "40fcc501-5ac2-4adb-b1d0-f6612c964343",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "e7842f36-90cc-45cc-9cff-8053afc5a3de",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "42994707-b541-4355-89de-6208610ed01d",
"account_manager_user_code": "sample string 56",
"company_status_id": "3116b86e-daab-4c39-804a-cfcf3446f6bd",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-10-01T08:27:37.6790494+00:00",
"id2": 60
},
"db_language_id": "578d0bd9-3d86-46b6-b2e0-6f4a2d9b1e4a",
"db_language_code": "sample string 7",
"db_title_id": "8f7882e4-04aa-4d7f-8cf6-b7a7416ae3a3",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-10-01T08:27:37.6790494+00:00",
"create_date": "2026-10-01T08:27:37.6790494+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-01T08:27:37.6790494+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.