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": "8464dc4f-7e8f-4de9-b075-af1fafd8a28b",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "82018791-8a2a-474a-8e21-0d95c0690b8e",
"company_code": "sample string 5",
"company": {
"id": "21b520f7-97a4-4cf8-bf19-ca5e97ff9078",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-10-11T15:16:41.8319515+00:00",
"sales_territory_id": "bff32bec-b0d2-418f-a344-c08275d4f0e8",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "51e8853f-2e4f-455f-834e-9fd3f864ba04",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "6d048611-33e8-45ff-8395-bf52aeb5f4f9",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "6a60c54c-e4bc-4296-8f63-0de491231909",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "53f91fd1-7527-499a-af0d-6b912daeb0d4",
"db_currency_id": "9211795b-01f3-497e-b1aa-e96c60856f26",
"db_language_id": "1e904615-dcbd-4337-bbec-77dc97ec8a80",
"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-11T15:16:41.8319515+00:00"
},
"modified_dateutc": "2026-10-11T15:16:41.8319515+00:00"
},
"marketing_segment_id": "1fc970e4-69da-4029-93c3-f0ab46dc531e",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "3b595c6e-8e3c-4ccb-a42f-50ec550c9213",
"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": "291b0424-a173-4517-ab45-e2c71786b9de",
"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": "2a99e36f-9595-44fb-8615-ba84e51a5921",
"db_country_code": "sample string 28",
"feelist_id": "6b334e55-8d4e-4775-ad51-3e6a701c682c",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "fc021f1a-1a94-4825-b920-fe7adc26296f",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "08014068-af86-4694-ad76-24cfdf37ccb7",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-10-11T15:16:41.8319515+00:00",
"db_currency_id": "38255952-3555-4540-a4e7-46223406241d",
"db_currency_code": "sample string 10"
},
"company_type_id": "ed83a273-79c9-4011-b693-c4ebf3057b7d",
"company_type_name": "sample string 32",
"company_type": {
"id": "63fff049-41b7-498d-a4f0-9945ad006e00",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "faf61e77-9d2a-4cbd-b813-1bd37d6f0143",
"sales_organization_code": "sample string 5"
},
"db_language_id": "040f414c-aba2-473c-b9b8-5aef5730c50f",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "d07d9cc1-19d7-4016-9b6f-dc8e1c95631d",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "6660bd5a-46aa-4b24-ac0b-1785dbca440a",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "b311f65f-0c4c-474d-a390-6a62b67c94c0",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-10-11T15:16:41.8319515+00:00"
},
"company_sector_id": "5696c767-1162-497b-aec6-1407e4e9f698",
"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": "65a9723e-0518-4e4c-9714-21eb7ad84b8d",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "80a5e5e5-1a4b-4683-9bd5-86edcf28cd0c",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "258424f5-9b0c-4119-880a-812c2fca3041",
"account_manager_user_code": "sample string 56",
"company_status_id": "72a96db3-2a55-47bd-8a98-cf4ff3714f87",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-10-11T15:16:41.8319515+00:00",
"id2": 60
},
"db_language_id": "4662344b-44c0-4d9d-87dd-6b70c4db1ba9",
"db_language_code": "sample string 7",
"db_title_id": "2b3a9964-fa7c-471d-944a-cab665a14fa8",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-10-11T15:16:41.8319515+00:00",
"create_date": "2026-10-11T15:16:41.8319515+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-11T15:16:41.8319515+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.