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": "9b33a158-1e93-4154-919c-b4a3a7d86076",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "5098d677-b873-4e49-bf28-06ab6167a8ef",
"company_code": "sample string 5",
"company": {
"id": "cc883917-7e6c-494f-8e05-0dbbd70a0a08",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-10-14T16:59:18.6335717+00:00",
"sales_territory_id": "b9c73a10-4a6e-4894-b8d1-c6c5cc5d4391",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "c8928997-b2b6-45b9-935a-2184f1c1bed9",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "cbb1018c-6cbc-4727-950e-96d057967ad3",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "c1c2756d-c0f0-4b04-ac84-b3f586d5a0c6",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "f1ffa9cd-4496-4faa-8c3f-b0da3d4a0b7a",
"db_currency_id": "cf88967d-cb1a-46b0-b7f5-64545e043869",
"db_language_id": "9adf0131-f76a-4e85-8228-58d4b13d68c8",
"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-14T16:59:18.6335717+00:00"
},
"modified_dateutc": "2026-10-14T16:59:18.6335717+00:00"
},
"marketing_segment_id": "cf4a1456-b551-4d53-8017-3d80fc0a7cf6",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "37fc3753-3c3a-445d-ab4e-b5ed619c9140",
"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": "0fee34a1-7ab6-48e7-8697-b5f3a3825294",
"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": "fe6701cc-db69-4429-ab9a-85314dedf0bf",
"db_country_code": "sample string 28",
"feelist_id": "3f49cacc-bea1-468a-8391-b4c51c69c4c6",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "81255dcd-4eb2-4c28-8b30-a300682dab97",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "aa2a15aa-0a66-423a-b6ff-b9b42b1f6bcb",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-10-14T16:59:18.6335717+00:00",
"db_currency_id": "a678e531-e03b-44fb-90a2-8581d720982c",
"db_currency_code": "sample string 10"
},
"company_type_id": "a2c6b381-2cbd-45fb-9274-62ec36d24f60",
"company_type_name": "sample string 32",
"company_type": {
"id": "39c4ab5e-275a-4f86-93f3-1cfffa2e3a3c",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "e9588ba1-da9d-4e63-b8c1-99b12abd6be2",
"sales_organization_code": "sample string 5"
},
"db_language_id": "40fdaf5c-3d63-405e-962f-e624370b5405",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "4400bad4-e3b7-46aa-a1a7-36e832e2dff4",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "c0099634-c749-4ff1-b825-6941ce28c0b2",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "63c637a2-51cd-41ab-b790-ff8cb14e24b3",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-10-14T16:59:18.6335717+00:00"
},
"company_sector_id": "6050f10b-32a7-4e23-8801-8a74c4c08efe",
"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": "3e8b3d0b-ecac-433f-88c0-21000552e01d",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "5208d6ec-c4b3-406b-8028-80444dc4f2d6",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "d82f09f1-a092-447f-8ae9-07592f10cbef",
"account_manager_user_code": "sample string 56",
"company_status_id": "f94181da-8d33-4866-b1cd-ab8f9a8b7e83",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-10-14T16:59:18.6335717+00:00",
"id2": 60
},
"db_language_id": "22153440-324d-49d2-b2f1-b417697da6de",
"db_language_code": "sample string 7",
"db_title_id": "99422f48-7093-42f9-86dd-d4f9b664b999",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-10-14T16:59:18.6335717+00:00",
"create_date": "2026-10-14T16:59:18.6335717+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-14T16:59:18.6335717+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.