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": "89ce9ddf-2536-4c41-98f6-1710220bbf61",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "164ee175-85c8-43af-852e-fb6cf6b47bcb",
"company_code": "sample string 5",
"company": {
"id": "eac702a9-e8b1-486b-a195-dcd24f252c65",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-09-10T05:19:22.7741329+00:00",
"sales_territory_id": "e544fc2f-65d5-4bdc-9612-8b99f7c501f7",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "f1d6d20e-b7fa-4bf5-9c2b-e4f2faca3541",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "ad5951a1-3c88-480a-b3c0-375456f4af36",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "22604c8f-5f56-4789-9bb8-a30f2d726f29",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "da8b2f69-d403-4bb2-9167-f318d87216e7",
"db_currency_id": "eef80d6c-5871-40d3-b736-a9fbe98c988d",
"db_language_id": "f9b0596b-424a-4843-a169-d48c62513baf",
"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-10T05:19:22.7741329+00:00"
},
"modified_dateutc": "2026-09-10T05:19:22.7741329+00:00"
},
"marketing_segment_id": "3dd74133-a58d-43a4-b178-55bc2e662f68",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "07ea72f9-b4c3-4e1f-8283-c16ffa2dfcc4",
"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": "3be3d333-b45b-43e8-959a-309fb57b8385",
"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": "44f46b92-5738-4c59-af7c-e7fa1504c20c",
"db_country_code": "sample string 28",
"feelist_id": "01248886-9ff5-4f31-81b2-972b5ec6ff0a",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "db2fe6e7-254a-424a-be7a-5ee87dc738ae",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "c4ac67b2-c891-4f17-a0f0-b18b4f67e337",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-09-10T05:19:22.7741329+00:00",
"db_currency_id": "bbeb60aa-43c0-461a-888e-a30b69a50aa9",
"db_currency_code": "sample string 10"
},
"company_type_id": "5d9321b9-d216-4cf7-b205-5a87b2c3cd80",
"company_type_name": "sample string 32",
"company_type": {
"id": "38524f64-301d-4048-9637-5ecd9356260b",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2f9065a3-e132-44c7-839b-8fbf8b47ace9",
"sales_organization_code": "sample string 5"
},
"db_language_id": "55aaf15f-1d98-4749-9f58-9012eaf03364",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "8654e0e0-993d-4d83-a616-f84e57b35b86",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "de5cce62-7442-415f-b5f6-4075060d996c",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "0f60ed28-2321-4d12-a4c7-5e960be2ef7f",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-09-10T05:19:22.7741329+00:00"
},
"company_sector_id": "7ce03d1b-e69e-4fd1-93c1-dfd137ce4ecf",
"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": "e6e21b09-c744-40dc-a825-a1212736610a",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "2a2b0b89-641c-4542-aec0-4f0e79de3b43",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "9a3f5b74-29a0-4108-8119-532ddcaeebfa",
"account_manager_user_code": "sample string 56",
"company_status_id": "ccd900fe-27fa-4206-8432-7e41703bce48",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-09-10T05:19:22.7741329+00:00",
"id2": 60
},
"db_language_id": "4caac991-52e1-4bf7-9d69-10ec1b359a6e",
"db_language_code": "sample string 7",
"db_title_id": "99d7d94a-6411-400b-bf05-45b0d15e8c56",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-09-10T05:19:22.7741329+00:00",
"create_date": "2026-09-10T05:19:22.7741329+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-10T05:19:22.7741329+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.