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": "fb91975c-257d-4390-8337-e919b15a6a00",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "a3a06a2a-c431-4ff0-9fb3-7ff2b0ec9778",
"company_code": "sample string 5",
"company": {
"id": "23471a3d-c42a-4221-b790-efda06d8aa06",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-11-18T15:35:12.4680424+00:00",
"sales_territory_id": "5afe2316-a362-4455-9f01-52fb728fe5ac",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "b0f6cda9-a337-4eb1-bb4a-467653c607ac",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "de89fcc8-18ef-4985-8ee0-cf3941991ff7",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "03c746a7-fee6-4d43-bc11-570736b80708",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "d74a32a0-c69f-435e-80b9-0951c5f403c0",
"db_currency_id": "d7ebb76f-291c-4b00-957d-94a003c938ac",
"db_language_id": "b867aa51-ba27-4a7a-8171-d695e57af3c2",
"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-18T15:35:12.4810881+00:00"
},
"modified_dateutc": "2026-11-18T15:35:12.4810881+00:00"
},
"marketing_segment_id": "87732700-360b-4b86-b6c9-3450016a9d05",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "346ebe90-9a59-49a3-b681-7722dcb5dc4c",
"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": "59c64394-d067-4882-962d-bc3553475e3c",
"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": "596b3121-a697-4fa5-9928-7a41bdd954ad",
"db_country_code": "sample string 28",
"feelist_id": "64564787-5121-4cb9-99ad-3d4024f7daa7",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "56a33534-d8eb-412c-8420-5aa0747dd880",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "946b3a95-bda0-4f4c-b008-db44239f12c6",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-11-18T15:35:12.4810881+00:00",
"db_currency_id": "ccda88fe-52ee-4d9e-b27e-89b321bb9828",
"db_currency_code": "sample string 10"
},
"company_type_id": "39712a53-732a-44ff-900a-ced2a9b58a03",
"company_type_name": "sample string 32",
"company_type": {
"id": "fb4f444d-894d-4c28-af1e-716facfe5b42",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "35e52f07-e182-4d35-9b06-1c118b22970c",
"sales_organization_code": "sample string 5"
},
"db_language_id": "b5f0604f-cead-47a1-80e5-47fa6ad7b109",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "d98c71a1-4e91-43f0-bacc-577ce8e5d7f3",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "cdc1846a-3f9b-499f-8b88-af00463ecfef",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "e45754be-0087-4f2d-80d4-ccf6de9c67a7",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-11-18T15:35:12.4810881+00:00"
},
"company_sector_id": "aaef3d0c-68b6-4dfb-b5c6-4ff26e93a083",
"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": "566fb231-4283-4abb-a832-9df62d74491b",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "1b6849a6-c45c-457d-a103-851da81fd712",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "dfda4016-9811-4d77-8245-02bd4e347844",
"account_manager_user_code": "sample string 56",
"company_status_id": "58863ec4-48d7-417e-9d04-426bb537197f",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-11-18T15:35:12.4810881+00:00",
"id2": 60
},
"db_language_id": "aee0aa4f-3f47-48e8-84b3-255adc5b476e",
"db_language_code": "sample string 7",
"db_title_id": "d1c66fe8-24b0-4378-b153-4fd1ff62d1fd",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-11-18T15:35:12.4810881+00:00",
"create_date": "2026-11-18T15:35:12.4810881+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-18T15:35:12.4810881+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.