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": "e2e72dd5-f617-4766-9e48-e31b4cbcb014",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "bc7a9af2-66f3-49a2-a4d4-82c246c28526",
"company_code": "sample string 5",
"company": {
"id": "759a46ae-6de4-4c52-9295-be2fee6cfa57",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-06-11T16:45:15.0975195+00:00",
"sales_territory_id": "4a3c6518-5ae5-48cc-bf74-1a29b8344dff",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "7d495eb5-5a1d-40f5-a009-b25cb5272713",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "80579151-4a91-45bf-970b-b7cd2e24f19b",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "dc143e96-75bc-4266-8066-f964a088fb5f",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "e7fe260b-23f2-4cf0-8460-ea7ca2b328bc",
"db_currency_id": "037d74fa-08f2-48c2-8f6a-251ca021d114",
"db_language_id": "9e373f1a-3604-4a34-8915-c08ecb743c69",
"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-06-11T16:45:15.0975195+00:00"
},
"modified_dateutc": "2026-06-11T16:45:15.0975195+00:00"
},
"marketing_segment_id": "9a64ad0a-4266-4a5b-96ea-166811e85986",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "3383506e-eeff-445d-be27-fa50e78cc660",
"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": "3fdc271c-caef-4eee-9cc6-14152d258ba9",
"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": "55940b46-5e47-446c-ac64-10757a6bc1ff",
"db_country_code": "sample string 28",
"feelist_id": "6653561f-dd72-4f6d-b79e-e50b62a9f9d3",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "8588f618-132e-4915-a9e2-5a073f258c76",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "8ae30cb0-b2a3-4183-a21b-ba286ef4b10f",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-06-11T16:45:15.0975195+00:00",
"db_currency_id": "db5ecd16-39be-45cb-a241-2490bba7093f",
"db_currency_code": "sample string 10"
},
"company_type_id": "d1e7e250-3414-4bc1-a7eb-133a90dc7c11",
"company_type_name": "sample string 32",
"company_type": {
"id": "e4f55e5d-ca22-48d3-a68f-8b1b1408a22b",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "24e6088b-6a82-4c8f-82a9-76e34e26bfcf",
"sales_organization_code": "sample string 5"
},
"db_language_id": "c3aa98b6-c4c1-40d8-98ae-b54b42b1f5d1",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "79faf6ab-482b-4672-8da2-9929d085d558",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "94292096-8206-49a4-8a0a-0817fb104960",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "54688152-f081-4d5e-9672-73532cb8fc38",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-06-11T16:45:15.0975195+00:00"
},
"company_sector_id": "79a8b7ad-7b2b-41e5-9982-524f49f123bc",
"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": "50850dd1-fe9d-4cc5-bf5a-e337ede94be2",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "aa5ad5ca-68f3-4651-ac10-714ef3682f0f",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "e735a79f-be89-411c-b437-68a4e5cff404",
"account_manager_user_code": "sample string 56",
"company_status_id": "32cd7440-c5c4-4d1c-890c-fbe1f97d0576",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-06-11T16:45:15.0975195+00:00",
"id2": 60
},
"db_language_id": "98a9ceb7-2d3d-486c-8bec-fca00ee5a1ca",
"db_language_code": "sample string 7",
"db_title_id": "9cc8c049-61f3-4c09-8e9e-5eb266bb8553",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-06-11T16:45:15.0975195+00:00",
"create_date": "2026-06-11T16:45:15.0975195+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-06-11T16:45:15.0975195+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.