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": "d92c8219-75c3-42bb-aa0f-cd3f6776b208",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "88539c10-770e-4da0-86fd-16f4035cb7c0",
"company_code": "sample string 5",
"company": {
"id": "27545e64-3c64-4a73-9866-3932664a7142",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-10-26T07:38:22.6804972+00:00",
"sales_territory_id": "1cc5bdc9-c988-4aed-8b79-78b4d791a0c2",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "02f8ca12-3b09-4ca3-9ff2-8980d9b65b05",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "6943450f-1fff-43df-a3f6-11329335fc6a",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "f0400b50-445b-4a65-836b-55f41edee9d9",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "14b53fc6-0934-41d4-aea8-3c50ae829a58",
"db_currency_id": "59537b96-5321-42fa-9cf4-afe3b0e38c65",
"db_language_id": "1c139e44-c0d6-43f2-ba68-020d3f4ec216",
"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-26T07:38:22.6990872+00:00"
},
"modified_dateutc": "2026-10-26T07:38:22.6990872+00:00"
},
"marketing_segment_id": "dca0fc0c-05bd-4e20-8885-f205db981382",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "764d6359-671a-4a1c-8f05-d0c3d2888099",
"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": "795baf2a-fbc5-4207-8fb0-f1c257a9c9ea",
"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": "df2f97b8-338c-420a-b36b-e1096e1a8ad5",
"db_country_code": "sample string 28",
"feelist_id": "a6d6457d-6657-4c69-910c-8e0e52dcb3e1",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "8ef5756b-4772-4e3e-a097-3387cdc9907f",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "c04b6cb9-ee7f-419f-a3f8-d7bf118b96e2",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-10-26T07:38:22.7286935+00:00",
"db_currency_id": "74dc4137-090f-47ae-a102-8065ddf08d19",
"db_currency_code": "sample string 10"
},
"company_type_id": "e27600c6-a20d-4330-9355-5177880c362c",
"company_type_name": "sample string 32",
"company_type": {
"id": "b42b50af-9ecc-437f-90ea-a0e5f928b409",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "8b056b87-8c9a-40c4-b85a-fee16c563461",
"sales_organization_code": "sample string 5"
},
"db_language_id": "f83b8032-4a5b-47f2-bc9f-9a6ac991740d",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "b3e48996-41ff-4b43-b135-181bb6b067b8",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "401e6cc0-fae2-4804-ac8f-561c4452700c",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "ee17135b-5d87-405f-9d08-659ea53d65ec",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-10-26T07:38:22.7286935+00:00"
},
"company_sector_id": "746ee992-e0db-40f3-82fb-b08835c55698",
"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": "94da7b98-ffaf-4904-bc32-192fb2c13cbc",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "b983cd07-31eb-4f44-a36b-9baa742a48fa",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "e9ed37bd-a41f-4fee-9ed1-5fa7c05ff995",
"account_manager_user_code": "sample string 56",
"company_status_id": "ed0a9d4e-5ed3-4f43-ad95-66a47bc75f6d",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-10-26T07:38:22.7286935+00:00",
"id2": 60
},
"db_language_id": "43d8b5ea-5fe0-4851-b864-13a0d7a058ea",
"db_language_code": "sample string 7",
"db_title_id": "47d30b46-ecf4-41ba-be58-f73fe8a071ec",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-10-26T07:38:22.7286935+00:00",
"create_date": "2026-10-26T07:38:22.7286935+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-26T07:38:22.7286935+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.