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": "08c661fb-35b6-40ad-8dfc-afaa539236a9",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "8988cfbf-5c57-4a04-a91a-b7e69423ad33",
"company_code": "sample string 5",
"company": {
"id": "cfffb500-d36b-462b-ad19-f7f573dbab43",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-08-14T08:40:03.1617153+00:00",
"sales_territory_id": "2ff75a90-0fc9-41dd-8099-c891fe1eb0f4",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "56a8f324-0ea3-4a21-9912-cd309a5cb8bd",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "953ef03b-9e90-46f5-ac62-042bb50d41e1",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "dcc4534b-0419-4892-82a9-e1d7445b1790",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "a173cac2-75ca-4ce9-831f-3197ce8b3327",
"db_currency_id": "00f5195a-e1cc-41b8-b5fe-dde7777a0c73",
"db_language_id": "ce7e8886-3643-45cf-84a3-338316d2a99a",
"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-08-14T08:40:03.1617153+00:00"
},
"modified_dateutc": "2026-08-14T08:40:03.1617153+00:00"
},
"marketing_segment_id": "93704aef-c6d1-4bc6-a2a8-8849306ef75d",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "845feb79-43a1-4be1-8133-b089ed548b37",
"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": "70e7f4b5-8171-4641-8fbf-bc3a86ba7210",
"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": "41c63e8b-795a-43c3-9e58-ea33bf5ee673",
"db_country_code": "sample string 28",
"feelist_id": "bcd8e2b6-834b-4a25-8426-2ce91611690c",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "567a5546-9e7e-4b65-8241-049f64621356",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "3bc75dde-2c20-490d-9842-00f839374a7d",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-08-14T08:40:03.1617153+00:00",
"db_currency_id": "cd0ad310-fdac-4394-b697-27aabb004f17",
"db_currency_code": "sample string 10"
},
"company_type_id": "a7e3169f-762e-4f0e-b824-0bcb960a28be",
"company_type_name": "sample string 32",
"company_type": {
"id": "86b0c327-6129-43a6-b0e4-2e5fe0dc6b5f",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "f223cc9d-2f2b-4ea2-ba81-50185585afed",
"sales_organization_code": "sample string 5"
},
"db_language_id": "5be7dfea-1c6e-4c5b-8b8e-05fe10a12cff",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "b0e107ee-c9db-4dc8-9d02-738ca53e6b30",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "8c564c4e-ffb4-403d-be1e-de59cda18e68",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "f9578dc6-5f76-444c-87bd-152c2d41f358",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-08-14T08:40:03.1617153+00:00"
},
"company_sector_id": "55f47ebb-1092-4b9c-925f-4422212862b5",
"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": "212dd6c8-1bb5-4915-9e3d-290398fe8151",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "49969c2c-d274-495f-88a7-bff964fb99c0",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "1e298163-2d3b-4f26-b86f-f84071822bcb",
"account_manager_user_code": "sample string 56",
"company_status_id": "b12036b5-2f9f-41a8-ab06-67964a55b7fb",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-08-14T08:40:03.1617153+00:00",
"id2": 60
},
"db_language_id": "0a8e0230-47d7-4e0e-a92a-d5e7ed01ce41",
"db_language_code": "sample string 7",
"db_title_id": "b69b14e4-72b8-4794-aaeb-0cb8d19c5850",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-08-14T08:40:03.1617153+00:00",
"create_date": "2026-08-14T08:40:03.1617153+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-08-14T08:40:03.1617153+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.