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": "f7ea64f1-06a9-4a6d-8d23-7c6ff85686d0",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "d3463a34-ee74-4b64-afe6-5af585eb5fa1",
"company_code": "sample string 5",
"company": {
"id": "ace37c9c-0c7a-4ea5-a98d-50a16900608c",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-11-18T18:31:35.0215951+00:00",
"sales_territory_id": "486b6d08-0019-4d32-a1d0-2fa9c89e16a8",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "3c665ca1-b73e-4838-b1eb-517769e20160",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "53e731cb-ef88-4553-8cdb-57f8ef904445",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "8ab30812-eada-4843-a09f-0da3854580ce",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "6a57a788-ec02-4f2a-9b49-be4e58bb9de1",
"db_currency_id": "69554e33-e20a-47a0-bf19-2ebb0b5b3300",
"db_language_id": "e5db188d-6406-45cd-b9cd-0fb807d4766c",
"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-18T18:31:35.0215951+00:00"
},
"modified_dateutc": "2026-11-18T18:31:35.0215951+00:00"
},
"marketing_segment_id": "56dcb68a-939a-4536-80da-c796d8a6b1ec",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "fb70f55c-fe0c-49d2-95b3-380e6755d6fe",
"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": "4561c94c-1676-4b8f-9e76-9e458f732ce7",
"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": "cfdd8d4a-b2e7-416d-9fc9-84d334a05118",
"db_country_code": "sample string 28",
"feelist_id": "8117131b-4491-454e-b51e-59b52871bdb5",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "49d1b095-1c59-4333-b0a5-bd10eda43a45",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "59ca7681-6ca2-4326-83fd-ae7010d6c84d",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-11-18T18:31:35.0215951+00:00",
"db_currency_id": "14689bab-f9cf-434b-8061-041a658b4349",
"db_currency_code": "sample string 10"
},
"company_type_id": "f47c61b5-b5bb-468e-9cf4-e1958f2a057d",
"company_type_name": "sample string 32",
"company_type": {
"id": "d95bff6a-6aa5-495e-92be-1de4b4065c91",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "aabac451-3216-4e8d-acf0-111dafbcbe6a",
"sales_organization_code": "sample string 5"
},
"db_language_id": "e8002fef-7bfd-47bd-82b5-ae8e0770da09",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "605a132e-0893-4144-b710-117dfad372c7",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "b69fc125-4697-4355-acbc-237c3c42f866",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "f886bfc8-0faf-48b7-bff6-b8c17662f433",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-11-18T18:31:35.0215951+00:00"
},
"company_sector_id": "430c0320-ffbb-4497-973d-122e2cc7378b",
"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": "aca7436a-f703-43ad-96cb-97e87b311232",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "b2ec8b7b-761d-4728-82e5-183a15ccb13c",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "e5aa28b8-2715-4ec3-948c-ec55e74b1d66",
"account_manager_user_code": "sample string 56",
"company_status_id": "9d8ad62b-4585-414f-a802-b86436fbd16e",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-11-18T18:31:35.0215951+00:00",
"id2": 60
},
"db_language_id": "3fd455f6-5f12-4645-a46f-c06f9addc9f1",
"db_language_code": "sample string 7",
"db_title_id": "a473a769-27f1-454d-8f99-036a76aea2b5",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-11-18T18:31:35.0215951+00:00",
"create_date": "2026-11-18T18:31:35.0215951+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-18T18:31:35.0215951+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.