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": "8f6e4be8-a1e7-4160-9d40-3e053b51d36f",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "1ba3806f-1646-4707-be28-019a4dc9410e",
"company_code": "sample string 5",
"company": {
"id": "2637e88e-e803-4102-8805-815dfa202f21",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-09-13T08:08:23.369071+00:00",
"sales_territory_id": "298bb6a0-973c-4bb5-bfb1-993ca32aebdf",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "ffecc4da-9890-4989-91b2-82cfcc56e59c",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "cbbab3ea-0618-4597-93f2-0b2b7b85bbb2",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "174810cb-f61c-464b-b49b-2a81673ce6fc",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "61373e12-2fda-488a-abf9-0cd91b0d53fb",
"db_currency_id": "904c5772-2a39-4149-b72e-ca27497abde4",
"db_language_id": "a14f43af-ef62-41e4-9677-3d78ea94dbf7",
"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-09-13T08:08:23.369071+00:00"
},
"modified_dateutc": "2026-09-13T08:08:23.369071+00:00"
},
"marketing_segment_id": "34deae22-0df0-423c-a51a-34ab8313e708",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "50d49981-9a08-45a9-845c-5ffe8b8892df",
"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": "a2ac2fb5-61e1-4a38-a574-38e3e039b5a0",
"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": "5dd41fc9-5fbe-4716-9da6-8ea6c48b1d5c",
"db_country_code": "sample string 28",
"feelist_id": "6ca4073e-5cfe-41a9-831d-24afbcc892dc",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "6f116d09-48dc-4ffa-a2c9-a53b69bb83dd",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "51b61e6b-4b6f-47fe-9525-6a606e31e51a",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-09-13T08:08:23.369071+00:00",
"db_currency_id": "2a78cd30-5144-4c87-9436-b575ae788108",
"db_currency_code": "sample string 10"
},
"company_type_id": "6f02e351-1abc-4175-b34c-7785ebbe850e",
"company_type_name": "sample string 32",
"company_type": {
"id": "acf401af-c601-499e-8bdf-a4298b0e046e",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2fe1b7bb-201a-424c-b4bc-1e0357199b61",
"sales_organization_code": "sample string 5"
},
"db_language_id": "84053818-9bb1-49c2-9120-706f8a7caed1",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "edd5f9e3-27a6-490b-8380-691f75f426c9",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "1fc2ec2f-fd7e-44f0-bad3-3ed9579712c8",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "66d0e753-445f-4bc4-ba9c-0daef3f1eb52",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-09-13T08:08:23.369071+00:00"
},
"company_sector_id": "f91f3104-9048-48e0-b730-a74f5c55cc8f",
"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": "f79df018-2e88-48fa-bd80-0da3dd5e8428",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "f1421756-50be-4953-8e59-68387ced425d",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "d105d177-a437-4166-bcee-a434f33a05b1",
"account_manager_user_code": "sample string 56",
"company_status_id": "bfda03d2-02c0-4f79-bdbe-edbe793c48a9",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-09-13T08:08:23.369071+00:00",
"id2": 60
},
"db_language_id": "bfd7e215-f11a-453e-9dc2-98cd6516731c",
"db_language_code": "sample string 7",
"db_title_id": "f6d6a582-6666-46b9-92da-850f82e8eeb4",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-09-13T08:08:23.3846953+00:00",
"create_date": "2026-09-13T08:08:23.3846953+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-09-13T08:08:23.3846953+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.