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": "e4975dba-0371-4e24-a72b-02ff80d1cfc3",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "ecc031d2-16f1-49da-a07b-36141a1596db",
"company_code": "sample string 5",
"company": {
"id": "7a2c342d-0bfd-4d54-854e-381adbcfa6df",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-12-04T12:45:31.9606166+00:00",
"sales_territory_id": "4b7b316b-a54f-4731-8e70-6f4a3a05eee2",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "f055e3b9-3bb7-4600-be1a-725dc6c7f519",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "0a882c09-18fb-4497-b135-2bdd8c4a1035",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "54509e94-427a-4f12-a40e-c33877b75ba8",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "26f1f978-bd54-44f4-a5c7-e7c3213bf9b8",
"db_currency_id": "2cb2d792-6dda-428a-ab80-74ebc9d44bd3",
"db_language_id": "97564aa3-6ea0-4396-8142-3694a477fedb",
"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-12-04T12:45:31.9606166+00:00"
},
"modified_dateutc": "2026-12-04T12:45:31.9606166+00:00"
},
"marketing_segment_id": "90a89075-1e4b-455b-9057-a2d0ea0bd00b",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "9f3a27f2-ff86-4087-9fc2-55f08b335ec0",
"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": "e2a8e8aa-287c-4f6b-8faa-2d4eefe732d4",
"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": "f76339a5-4719-4bdb-9cc2-0058dfef8a70",
"db_country_code": "sample string 28",
"feelist_id": "61c69e27-83bf-4312-b2b6-1387b58d9a1d",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "f29636f0-30f5-4fba-a542-60d9e4f8d9fa",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "21901662-6ea3-4fba-a026-1602bbb102e6",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-12-04T12:45:31.9606166+00:00",
"db_currency_id": "4ff71baf-751f-4cc1-9528-fed3dc1e1026",
"db_currency_code": "sample string 10"
},
"company_type_id": "834f3fb4-3729-41c8-8401-aac2071fe5bb",
"company_type_name": "sample string 32",
"company_type": {
"id": "f14a9ffc-39ef-4779-a81a-65cde30f16d3",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "28ec3e1d-21b5-4811-8b90-ecbe733d67ca",
"sales_organization_code": "sample string 5"
},
"db_language_id": "a9ea10ea-1092-4f09-b264-e8b0f15f7ac7",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "4a9171c9-0e04-4ba6-bed0-a12da9ff300d",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "116b7da0-db40-427d-92ae-5420860683f4",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "0ed1a98d-b5a3-4e3e-9785-5f01bad29080",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-12-04T12:45:31.9606166+00:00"
},
"company_sector_id": "9c3fa766-7c9d-46c7-94ac-6925cae7d06c",
"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": "a6b2f90d-6236-443b-b3bb-c2cd21fa75bc",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "dd1a957a-ca1d-4950-ae2e-d28474ca2ce4",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "6d847085-1d93-48b5-876f-d8fb4ec2cc86",
"account_manager_user_code": "sample string 56",
"company_status_id": "6d68632b-5e28-45f8-bd84-c93af226adb0",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-12-04T12:45:31.9606166+00:00",
"id2": 60
},
"db_language_id": "f861ca64-ae5a-4d41-bd81-62034863f6bb",
"db_language_code": "sample string 7",
"db_title_id": "74ff5e6e-96f4-4b74-894e-d894f655e2d8",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-12-04T12:45:31.9606166+00:00",
"create_date": "2026-12-04T12:45:31.9606166+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-12-04T12:45:31.9606166+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.