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": "2b164585-9db8-4d55-87ad-2a24d7fba886",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "50def13a-a309-49fd-ba3a-19ffe1f63b5d",
"company_code": "sample string 5",
"company": {
"id": "9df66c30-bde2-40c6-8b4f-1a6bb7f57e36",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-11-26T18:37:27.7067217+00:00",
"sales_territory_id": "644e9f03-d943-411f-97bc-41c4f90d07c4",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "fef2f842-7432-4771-b81a-1a78f90c3dbb",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "16c812ab-c2fb-487a-9196-347ce3e53610",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "9140a6d6-19d9-4e89-83b2-0bc12ba03bfa",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "ab640269-63ad-4bcc-a674-f84784b3ca6d",
"db_currency_id": "1b637b3d-3bc3-4e97-b7a8-d7b077be05fc",
"db_language_id": "0dee447d-50ea-458a-ade2-3ef14033df09",
"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-26T18:37:27.7067217+00:00"
},
"modified_dateutc": "2026-11-26T18:37:27.7067217+00:00"
},
"marketing_segment_id": "7db505d7-d282-4f1b-929c-83e15bd00cb3",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "d22da923-efa0-44ef-b8b5-c6a5d4a93476",
"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": "a546e1d3-4c52-4d31-bec1-0291964e28ad",
"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": "000df61b-2237-47e8-a1d6-1fa4e6533f67",
"db_country_code": "sample string 28",
"feelist_id": "18c0c07a-defd-462b-8e9b-8ca902839d8a",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "ea142786-8cf5-42ed-8098-55c02935ef85",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "049e71d8-55ec-486c-97bc-9e6945db396c",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-11-26T18:37:27.7067217+00:00",
"db_currency_id": "df0290ed-a1a4-41a2-b351-67a704576e88",
"db_currency_code": "sample string 10"
},
"company_type_id": "e65267be-ad54-47c9-9f93-659431212ee8",
"company_type_name": "sample string 32",
"company_type": {
"id": "7aeb26d9-11ce-4aec-9806-beb5a37d55d8",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "aed5013f-bb86-48aa-a1e4-1e5a494c6822",
"sales_organization_code": "sample string 5"
},
"db_language_id": "c4c23d6d-6481-4857-98c1-9b44038b1b3b",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "12af5b9f-eda2-4b0d-9c9d-f320b1801660",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "58ac359c-9c46-4a92-890b-6510b1adca01",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "2222713f-b8b9-4e62-b14d-3244953dcbbc",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-11-26T18:37:27.7067217+00:00"
},
"company_sector_id": "81ea49b3-18c1-4b35-b3e0-7bc73358906c",
"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": "18689ad8-aba3-4380-9e9e-e8233e2bc453",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "05dc5ff7-7274-47f7-a779-312bb0a9466f",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "e56efc6d-b76c-4463-b0f7-e74ffbc2ff03",
"account_manager_user_code": "sample string 56",
"company_status_id": "171d9a22-8a94-4d72-90db-cd3080ef7d38",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-11-26T18:37:27.7067217+00:00",
"id2": 60
},
"db_language_id": "f0b25aa8-8936-4113-86f6-004a43c564f3",
"db_language_code": "sample string 7",
"db_title_id": "27f4557d-2e36-4e02-b8f0-8b19bd2aa966",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-11-26T18:37:27.7067217+00:00",
"create_date": "2026-11-26T18:37:27.7067217+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-26T18:37:27.7067217+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.