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": "a9aca6eb-5d8a-4b69-8c4e-50efdddc69e3",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "7e74442a-a3a0-4ff7-8519-87faf497f155",
"company_code": "sample string 5",
"company": {
"id": "2fbead74-4aaa-4e75-a3c4-de1e1e058568",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-10-22T02:37:10.4009652+00:00",
"sales_territory_id": "ae00dd0e-3e9e-4b24-ac95-221c154096be",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "f0a79247-2b76-406d-835d-5d448f3710e3",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "a2481a83-ea3b-45e8-b575-d97962daac64",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "f5320c1b-3764-46ac-9af9-ded9aa6a551b",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "fca524cc-e928-414c-a62f-253f8a881a3a",
"db_currency_id": "fb453636-62da-476e-8892-dce8359c3427",
"db_language_id": "a27e4b79-8ab7-486e-b966-28255fd4e8eb",
"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-22T02:37:10.4009652+00:00"
},
"modified_dateutc": "2026-10-22T02:37:10.4009652+00:00"
},
"marketing_segment_id": "955bfc73-03dd-43b9-8c8b-fa0ad8a2a3f7",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "8d580573-20c1-4e46-9ddd-c9e55c05b720",
"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": "f8d9829d-8eb0-4f8c-b2a4-d91a397cb3c3",
"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": "00892040-089b-4685-a19b-1ff8b68ca409",
"db_country_code": "sample string 28",
"feelist_id": "fc1279ed-e912-4eea-aa64-783832b12288",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "bb1e0437-fbfb-45f1-80db-7a8fd90918c5",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "c8c38a31-b048-44c1-beec-d48a43f75b00",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-10-22T02:37:10.4209953+00:00",
"db_currency_id": "3faa7538-8517-4d6c-b7d8-1cbb24f5fd27",
"db_currency_code": "sample string 10"
},
"company_type_id": "0f972126-f331-434a-93e9-63151e48ac29",
"company_type_name": "sample string 32",
"company_type": {
"id": "28e7a7ee-1b1e-41d1-88be-7869f6fc269e",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "3926bdc1-1568-40d2-abbe-050bb527e246",
"sales_organization_code": "sample string 5"
},
"db_language_id": "2e644f35-229e-4029-afe6-5d787b5210fd",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "c38fd64c-2f3a-4bfe-b4af-85acbbcf6d83",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "1aea2630-d8ae-4de9-9d15-ce390cb44b39",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "d253f16a-eda1-48c8-be9b-cce25539044f",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-10-22T02:37:10.4209953+00:00"
},
"company_sector_id": "f1cf99bb-eb3a-4af3-83e6-b14bacf71d05",
"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": "f2550c24-af1e-4e2e-874f-18835c797a72",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "b226e7f0-8438-46cd-a6a7-a148e284b300",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "57da7cfb-90e0-4fdc-9804-b4e6f52013d0",
"account_manager_user_code": "sample string 56",
"company_status_id": "f24c10e7-467b-4499-b894-3be6d7391d53",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-10-22T02:37:10.4209953+00:00",
"id2": 60
},
"db_language_id": "7500f47a-4cc0-45da-a1ac-361ab5d321c8",
"db_language_code": "sample string 7",
"db_title_id": "b83c4023-8749-4763-a552-0b9584bd2c74",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-10-22T02:37:10.4209953+00:00",
"create_date": "2026-10-22T02:37:10.4209953+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-22T02:37:10.4209953+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.