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": "8ec6dac0-c05c-4d1f-8876-3227f61a3fce",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "cbe5e216-dd0b-4fbb-bbc8-1de74eb6ee3e",
"company_code": "sample string 5",
"company": {
"id": "660c18b0-3bf8-45d7-bbb3-3782c9c3c11a",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-11-24T18:27:58.716338+00:00",
"sales_territory_id": "2707668b-31d8-4a9b-8254-d3a02de45e10",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "1adf10a9-9ffd-4935-9a38-5d2a5223043a",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "355c68fa-4d33-4ac8-929b-eaedfa29a903",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "2644ac06-d02f-4a00-853a-af85361bde73",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "9dc29d26-72e5-4922-8d25-ac7f88604d59",
"db_currency_id": "f1bb3c8a-637b-406d-84b8-68a1aec156f0",
"db_language_id": "84d476a6-8e8f-4470-a5ae-4c0caedd9cf7",
"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-11-24T18:27:58.716338+00:00"
},
"modified_dateutc": "2026-11-24T18:27:58.716338+00:00"
},
"marketing_segment_id": "fa0aeb0c-bf36-4817-b703-295629d13c4c",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "701e2d27-ac52-451f-b81f-77c1d1ccc159",
"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": "0af40a5d-cb1f-4b87-8fa5-5981d28f8836",
"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": "89f42c13-b650-41d6-b7ab-68881f22b1ef",
"db_country_code": "sample string 28",
"feelist_id": "26444fda-8f20-451a-ad8a-2d0bc0a9605b",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "74607011-eb39-47a1-bd18-a0842478fbb2",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "60c354f2-8ab5-45c8-8f19-339439c6dd24",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-11-24T18:27:58.716338+00:00",
"db_currency_id": "981936c5-92ef-4738-bb9b-18cde6fd3682",
"db_currency_code": "sample string 10"
},
"company_type_id": "c37f6573-e2ca-4ab9-8670-3b25617ad7a2",
"company_type_name": "sample string 32",
"company_type": {
"id": "ce269445-b0a4-4c29-a09b-0e6ef1f75880",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "58b583df-123b-4f47-9938-b7ab8bf9f3dc",
"sales_organization_code": "sample string 5"
},
"db_language_id": "6cf65d2f-3dba-474d-b020-19147188ec61",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "0d398e1e-f132-44b0-98f7-12af60032922",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "e4517958-e6c0-44ae-bde8-fa481e474b2a",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "9074cdeb-bdf7-45bc-bd63-25ad922d08db",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-11-24T18:27:58.716338+00:00"
},
"company_sector_id": "3363daad-eb8d-4486-a106-29fc7b41e7ba",
"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": "5f0c3683-3861-41c5-8e8e-50204a2de294",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "aef8f759-bf08-4c9a-9a33-7290fd644d03",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "cd1dbeae-14df-4c14-8937-25d07825a4f7",
"account_manager_user_code": "sample string 56",
"company_status_id": "4cd0e92f-a3f1-4320-ba87-f95fcda4c16c",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-11-24T18:27:58.716338+00:00",
"id2": 60
},
"db_language_id": "b1c84f71-855f-4651-b73f-2e7b5554a303",
"db_language_code": "sample string 7",
"db_title_id": "9bf41a7d-7d84-4e8f-84cf-efd2212d5baa",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-11-24T18:27:58.716338+00:00",
"create_date": "2026-11-24T18:27:58.716338+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-11-24T18:27:58.716338+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.