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": "37e76d76-8e23-44b6-ae9c-b9390500e1e3",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "aed5f5ec-86e7-4682-b97d-5b90fc446106",
"company_code": "sample string 5",
"company": {
"id": "24a150f1-3966-427e-8a71-a42a87848a2c",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-01-12T09:04:02.0489556+00:00",
"sales_territory_id": "8b762858-1bc2-4682-82e0-a37b6591ea3e",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "0c34a553-3d84-45a7-b4d2-5e8318abbe60",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "bf4eb41b-1014-4eba-af75-84b6c8c5970d",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "74a452c3-d17b-4cea-9bd3-8daf2b1b3be5",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "30f3ba12-e9aa-468f-9dd7-69bec3678102",
"db_currency_id": "fb933ef4-d414-4877-8295-2486dceb6435",
"db_language_id": "7df1f29d-c47c-440d-a9ff-a3ae31c9d8ba",
"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-01-12T09:04:02.0489556+00:00"
},
"modified_dateutc": "2026-01-12T09:04:02.0489556+00:00"
},
"marketing_segment_id": "0d95ae2a-07f6-46b8-b553-ac9f7ba5269d",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "b165b2e7-9b46-4c58-8294-045df90a7d2b",
"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": "651466d6-307f-463c-b6b7-1c9dbf9c93ce",
"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": "02077e7c-72c7-460e-8a0b-f49c763960a7",
"db_country_code": "sample string 28",
"feelist_id": "20255a80-00a5-4bf7-8450-318270b5e26a",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "b29321f6-7587-470e-9085-8723b7970298",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "124d5989-b83b-45c4-b496-da4fbf7e6b54",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-01-12T09:04:02.0653611+00:00",
"db_currency_id": "612816ea-acf3-4086-a919-7babec12536c",
"db_currency_code": "sample string 10"
},
"company_type_id": "4bfcf173-d42c-48d8-b02f-28083ad64378",
"company_type_name": "sample string 32",
"company_type": {
"id": "9a3ffceb-ced7-4a0c-8cc4-03d6daa1dcf6",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "22d2f0c9-5479-444d-afb5-c013841e91e3",
"sales_organization_code": "sample string 5"
},
"db_language_id": "64c9da52-edb8-4fd6-af7c-f4a8be71fad2",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "6f8bee8c-759f-4bb7-98f2-10f278af2702",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "d6631602-de9e-4715-a739-68276c70e20b",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "290352e2-f970-42f4-a26f-8ca137672fe9",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-01-12T09:04:02.0653611+00:00"
},
"company_sector_id": "4195b8c6-d2aa-4c78-b8fd-79cfa448735b",
"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": "2759856b-ca54-4109-a34b-debfe35a0b0b",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "1b5ddf86-d7b2-4da1-aa54-29419c50cdfb",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "9aa4face-ce42-47c9-8ce6-ed55fbe5d87c",
"account_manager_user_code": "sample string 56",
"company_status_id": "fd22a80d-7223-4a96-9aa5-8ecbb3e69c80",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-01-12T09:04:02.0653611+00:00",
"id2": 60
},
"db_language_id": "e9e19348-c65b-453b-babe-5f4f50105987",
"db_language_code": "sample string 7",
"db_title_id": "554098e0-8cd7-4842-a70c-a610904348f7",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-01-12T09:04:02.0653611+00:00",
"create_date": "2026-01-12T09:04:02.0653611+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-01-12T09:04:02.0653611+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.