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": "4f35cb04-0c40-42b6-85ee-061c5a3b7730",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "d3ba2449-6c6f-41ca-839e-a5d03dd572cf",
"company_code": "sample string 5",
"company": {
"id": "e271da0a-8f82-4a52-8eaf-df9b26800a82",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-07-15T06:47:48.4727144+00:00",
"sales_territory_id": "38c2c9b4-863f-4da6-b131-315b9bb830fc",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "8cfa8a28-cdc2-4e0f-a7dc-8d376db681ba",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "d38ecfdd-8d6d-4b03-86fc-3527ab3fb035",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "f7ebeacc-92e4-4990-a701-ca6fd52c00c7",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "ac81983e-4997-41f6-89e0-310d7cf7a013",
"db_currency_id": "b964c15a-65d7-4e68-ba7e-e8025eee4885",
"db_language_id": "55c4825f-d722-46fd-8c6b-17d66404f4a8",
"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-07-15T06:47:48.4727144+00:00"
},
"modified_dateutc": "2026-07-15T06:47:48.4727144+00:00"
},
"marketing_segment_id": "491b4f54-232b-4e7a-b85c-36a58bb8036f",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "2f6be31b-531b-411e-ab9e-6d169101cb4d",
"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": "c343a72b-8a65-4ad1-a865-cb9aa607e1ce",
"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": "c9493117-6586-4957-aa5b-d646233931bf",
"db_country_code": "sample string 28",
"feelist_id": "3096085a-d3ef-425a-ab9d-07c12e12ff0b",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "a4ed14cf-39e3-4821-8d86-d684ef9f9de1",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "3c353ebd-478b-41f1-a3bf-a2565079eeb0",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-07-15T06:47:48.4727144+00:00",
"db_currency_id": "164a0d5e-3aae-4fe2-b9d7-8b174e5abcb5",
"db_currency_code": "sample string 10"
},
"company_type_id": "c47ecf93-a460-455b-b259-97bd27e30572",
"company_type_name": "sample string 32",
"company_type": {
"id": "4ec50604-ae71-407b-8b42-4e9c9299e875",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "d6cda362-732f-496a-bac1-84c64aae2136",
"sales_organization_code": "sample string 5"
},
"db_language_id": "3be22a4a-2f1e-42da-b152-f654af6b8cba",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "67eb98cf-28d7-4eb5-9cb2-53a80babacca",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "607daa2c-578c-4036-997a-895f8c5e38c3",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "62a65c92-7a54-4f9b-937e-4f82050d10b1",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-07-15T06:47:48.4727144+00:00"
},
"company_sector_id": "8de59256-7762-475d-a045-219c1009eaac",
"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": "7ca74e33-1d34-48e0-aef9-8ef979bfa869",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "6a31ffbb-b01e-4d65-b5aa-f64964c79fdd",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "3e468867-cb19-4fbb-b393-656ab80e1bb0",
"account_manager_user_code": "sample string 56",
"company_status_id": "e9fb9803-02ab-436f-a464-f21e64df9df0",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-07-15T06:47:48.4727144+00:00",
"id2": 60
},
"db_language_id": "e9896b0f-b561-4af0-977e-2b2cc90b3a23",
"db_language_code": "sample string 7",
"db_title_id": "cd53430f-6578-4736-8e92-c11c9b36157b",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-07-15T06:47:48.4883364+00:00",
"create_date": "2026-07-15T06:47:48.4883364+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-07-15T06:47:48.4883364+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.