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": "5e46c886-49b7-42af-bc70-89997611c25c",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "c0b5b69a-6b0b-4c38-a3a1-144e46cf894d",
"company_code": "sample string 5",
"company": {
"id": "d08d0b86-dbd9-414f-936d-6502816a6c12",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-11-07T08:57:30.8110213+00:00",
"sales_territory_id": "8df4a1c8-9f61-43b2-ad40-ede4d94143fb",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "309b6499-b503-46a7-a6d0-3742a0473eb8",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "37655df7-7282-4797-90b1-c393fff65828",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "305f6195-63c3-4105-9588-8aff155bcd59",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "5a00fdd4-15b9-4df4-ab1b-a4bf82c17d3f",
"db_currency_id": "05619db2-75d0-4b5e-812f-200463135055",
"db_language_id": "1b95048d-cfd9-47a7-a0ea-451f6a2c0b3f",
"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-11-07T08:57:30.8110213+00:00"
},
"modified_dateutc": "2026-11-07T08:57:30.8110213+00:00"
},
"marketing_segment_id": "b0a10554-e8a5-4152-b755-6b68ce2d6580",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "85300861-9a14-463a-8b09-c66fa914ea3b",
"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": "93807d4a-3815-443a-a1a8-3786e3170d7e",
"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": "ba86bb13-f99a-4698-9cbe-e8312e0f5ac7",
"db_country_code": "sample string 28",
"feelist_id": "09e8ae91-a1aa-4ea9-b0af-7e2dda97b457",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "7c55960f-5500-4b1b-91e9-08294e1f8540",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "2c1465fd-ffc8-4b03-9a50-98cbfc6ad047",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-11-07T08:57:30.8110213+00:00",
"db_currency_id": "da02edca-0dca-488b-accf-56077930b219",
"db_currency_code": "sample string 10"
},
"company_type_id": "6c24e310-e885-4c41-9eb3-226b98d8ca96",
"company_type_name": "sample string 32",
"company_type": {
"id": "a28506c0-4671-4bc2-88fc-775640422e8f",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "149e8c97-f466-431f-a6ea-06f143b8f7a8",
"sales_organization_code": "sample string 5"
},
"db_language_id": "2ff550e8-cc55-404a-9b2e-59352a7579af",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "1e73ce94-b1ac-407d-a972-bee9998a26f4",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "13240379-b040-42af-b81c-38cf10dda9f2",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "67b62407-7109-40db-9365-b4c4bd90c464",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-11-07T08:57:30.8110213+00:00"
},
"company_sector_id": "37d93a6b-c8a6-4a7b-92f9-04f3b514751c",
"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": "acbba127-fd7a-476d-9a85-e386bf6dbc47",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "1530734b-b218-45d4-93df-d974728a698f",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "40c5b7df-d5ff-4d7d-8477-a61c302fae78",
"account_manager_user_code": "sample string 56",
"company_status_id": "30bbae1c-5288-4b90-a309-6fa574729ca5",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-11-07T08:57:30.8110213+00:00",
"id2": 60
},
"db_language_id": "33c667fb-5b1f-44c5-9357-909e8afdaa7f",
"db_language_code": "sample string 7",
"db_title_id": "62913d71-a36b-42ae-a251-7afe6dc091f6",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-11-07T08:57:30.8110213+00:00",
"create_date": "2026-11-07T08:57:30.8110213+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-11-07T08:57:30.8110213+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.