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": "2d927c05-58ed-4d43-9f2f-7a85f3d9a656",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "5dcde1d3-0577-427d-b756-9316c95ee64c",
"company_code": "sample string 5",
"company": {
"id": "d7406398-6f26-4ed0-a7e5-7412da18552b",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-04-03T16:37:19.1902141+00:00",
"sales_territory_id": "87ae165e-2ee8-4913-89e3-19938d8293e6",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "ebe3fcb6-1776-469c-ac40-7f271400c730",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "9d3e4f38-aa9c-4706-9ee0-af6c0cd2d91b",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "bf10d12a-3795-446e-8c59-c4fcd252a8c1",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "135932e4-4d62-4fd0-83f7-d5b149afee92",
"db_currency_id": "06980d09-60a2-4b35-b323-d319a695ab32",
"db_language_id": "20bd3c00-8352-432f-b832-0a2b65c8f702",
"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-04-03T16:37:19.1902141+00:00"
},
"modified_dateutc": "2026-04-03T16:37:19.1902141+00:00"
},
"marketing_segment_id": "dc48370d-4c7f-4157-bf02-981fdd45d0a6",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "caf919e6-765e-4e55-8a90-066c4e7c18c2",
"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": "90964c90-1266-41f1-a84e-2c0491bc80e5",
"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": "97fa11a5-c407-433a-b44b-b4fabb45d42e",
"db_country_code": "sample string 28",
"feelist_id": "dd1e126e-c969-4b03-8a4d-728e788faa24",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "20cefb30-b956-4022-9769-e3cb76e90501",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "0e728db7-8edc-4d00-aa8d-a2ea196f3d70",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-04-03T16:37:19.1902141+00:00",
"db_currency_id": "4e044d27-8983-41b7-a655-76fdfe1468bc",
"db_currency_code": "sample string 10"
},
"company_type_id": "e8869f9c-5889-424e-8555-0819de5704bd",
"company_type_name": "sample string 32",
"company_type": {
"id": "c4a8e769-f260-48d2-93ee-b0470d22ce32",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "eb5ab161-38f0-4903-96ef-46a87740e049",
"sales_organization_code": "sample string 5"
},
"db_language_id": "211edbe8-831b-4e83-9acf-8441f75cac04",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "5750ccb2-4803-47fc-ad6b-5967761aadbf",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "01b26fc0-ab6d-4449-a7d0-09c1117b6c1b",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "6c2ed49f-86b3-4eee-b7ab-ff7b2a17944e",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-04-03T16:37:19.1902141+00:00"
},
"company_sector_id": "06af7234-3c70-4ba4-9ca8-151a5f4ae50b",
"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": "1f23c879-9d6f-4b92-8fab-2ec2be0bcfd4",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "dca5eefa-437e-4067-8de5-7215f88e119f",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "439bd07f-c705-47b4-836b-608ef38ca16c",
"account_manager_user_code": "sample string 56",
"company_status_id": "9e4c375e-1ba4-4eb5-9dac-6af3bee0fe32",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-04-03T16:37:19.1902141+00:00",
"id2": 60
},
"db_language_id": "121e0e59-e4d4-4922-8c4c-40599c30f5f3",
"db_language_code": "sample string 7",
"db_title_id": "2d08a5cc-8132-4d43-b6ea-a23937b9474b",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-04-03T16:37:19.1902141+00:00",
"create_date": "2026-04-03T16:37:19.1902141+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-04-03T16:37:19.1902141+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.