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": "8e09f537-a6e8-4987-bba2-44e87ef47f16",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "215f6a1c-96af-42a4-bf54-443773f15277",
"company_code": "sample string 5",
"company": {
"id": "74c9215e-d2da-45ae-b07b-fe33c4496990",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-10-19T16:38:30.8674448+00:00",
"sales_territory_id": "99cdb395-caa9-4cf0-bf73-cfdb6b740e6c",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "87d2b0d4-1df7-4d16-9966-1b4a3881b739",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "59cb72e3-c05e-4b30-b1ad-4dbb8217ce03",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "aa693049-6c28-4b56-afc3-bd50802ef0cd",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "0c34a31b-ed2b-4651-ab07-d72e6fae872e",
"db_currency_id": "fd3cb532-14ef-4350-a89d-4f8675f10917",
"db_language_id": "0ebe894b-9887-4774-b4af-528d565f3e09",
"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-19T16:38:30.8674448+00:00"
},
"modified_dateutc": "2026-10-19T16:38:30.8674448+00:00"
},
"marketing_segment_id": "aee5cc87-66cd-4f10-98bb-b70306175567",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "c4452375-b507-489a-82fb-5e027309fa4a",
"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": "e072638f-9eed-46bd-b18e-16c50af4c301",
"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": "c5519869-bc5f-4250-b925-21bb154b9e82",
"db_country_code": "sample string 28",
"feelist_id": "f99ba35a-4992-4d57-b964-568a1aeedee3",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "08d0390b-84f4-4022-a3f3-82c0a31eab37",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "f69a0cd1-07d9-4b28-8edc-f9cc3d7d50f5",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-10-19T16:38:30.8674448+00:00",
"db_currency_id": "7b2cd3f8-3526-482f-9f99-1ca91c8f1180",
"db_currency_code": "sample string 10"
},
"company_type_id": "71e9f14d-840d-40f6-b5b6-b0f12ab4ee5d",
"company_type_name": "sample string 32",
"company_type": {
"id": "8751b3ec-9dee-48e5-bdef-6643fb628ac0",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2348cae4-d40a-488f-92c4-abcd7ea1c908",
"sales_organization_code": "sample string 5"
},
"db_language_id": "5253935b-7602-42b8-b69e-9557cffea53f",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "566f4cf1-db9f-4549-91c9-b11281464b7d",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "1b05a2dd-2c1b-4625-ab08-31eacbfe081d",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "101835ab-ce03-499a-ab33-f694ecf028a4",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-10-19T16:38:30.8674448+00:00"
},
"company_sector_id": "3c86a7a4-1089-449a-9dff-c76eaf363770",
"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": "021a05d0-6890-45ec-82b2-762a0a531a05",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "15154ccb-f105-4d41-b464-6ed63d3866e8",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "2c68a58c-bc41-401e-a4a4-f20e690c49a3",
"account_manager_user_code": "sample string 56",
"company_status_id": "24b243ee-8343-4198-8da9-bf088b8a355b",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-10-19T16:38:30.8869473+00:00",
"id2": 60
},
"db_language_id": "7c745e32-f57b-4642-8df0-eb1c6f194b5d",
"db_language_code": "sample string 7",
"db_title_id": "b6c7d016-88d6-43b2-8a13-9e8110b972e2",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-10-19T16:38:30.8869473+00:00",
"create_date": "2026-10-19T16:38:30.8869473+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-19T16:38:30.8869473+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.