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": "bdd7210c-e3e9-4578-bd72-81d2f83c6088",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "c053ba90-4f50-4707-b934-a49b34c48a1d",
"company_code": "sample string 5",
"company": {
"id": "9abee2f6-a50d-4405-8ff2-32027825b7a1",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-05-02T06:22:51.695716+00:00",
"sales_territory_id": "8f608fab-89ae-45f6-ac56-eff0400196f8",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "ee4c2ffd-afdd-4ff2-913f-b46f803aa2d1",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "e8e66337-9b88-4b00-8b02-fa6bf6e3a56b",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "3a4a6b00-f157-4d04-8b99-803a7ed1f031",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "b617c0c6-2b48-4502-b171-e187fb6a68f4",
"db_currency_id": "9f6e0189-f1bb-4fe6-9d52-678f08a44065",
"db_language_id": "1e5c5134-4de0-468b-bd3c-3e298817e4fe",
"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-05-02T06:22:51.695716+00:00"
},
"modified_dateutc": "2026-05-02T06:22:51.695716+00:00"
},
"marketing_segment_id": "55304808-1a2e-48fa-86d2-d07e0286ca77",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "de825c52-e909-43aa-ba64-d7871dc19f12",
"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": "a58ee034-0755-48f2-833c-4e36b5899d01",
"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": "738b4ee6-cfaf-410d-9e7b-a6e5b159da1a",
"db_country_code": "sample string 28",
"feelist_id": "59eb0321-452f-4205-be66-baf660dd5371",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "745c91d3-ce4b-45e5-9489-2d91505d57d2",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "987492a7-dac4-4098-b48b-d09009ab9b2a",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-05-02T06:22:51.695716+00:00",
"db_currency_id": "7400d2af-d6f3-4999-b95c-3db062ad2660",
"db_currency_code": "sample string 10"
},
"company_type_id": "b3d853e7-0a62-44eb-9e75-090ba8f0ec2e",
"company_type_name": "sample string 32",
"company_type": {
"id": "007cc3c0-70c7-4d8d-9ba9-f805bfec7ef5",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "89f57eaf-eeb7-4752-910a-25ef27e9cf68",
"sales_organization_code": "sample string 5"
},
"db_language_id": "572fa663-5ad4-46b7-9f8d-1fa90774af2e",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "b5e264eb-e801-4e9a-bbd7-1875d0c8643b",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "764fd4f1-964f-472b-ba8b-5a361c458607",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "755c0abd-a62c-45d1-a0c8-c79dafe11af2",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-05-02T06:22:51.695716+00:00"
},
"company_sector_id": "b0c56c86-5039-46e7-a1b9-59302642ed3d",
"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": "3e36eaa2-5f64-44f9-a5b1-95785506fec0",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "d3ee38f6-2406-480b-859b-2c865fd6490b",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "17b3f544-109f-4190-8203-010ec9f908b6",
"account_manager_user_code": "sample string 56",
"company_status_id": "685bf8df-ec0c-43c0-96bb-157af8fa2fc2",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-05-02T06:22:51.695716+00:00",
"id2": 60
},
"db_language_id": "3ca01ceb-34eb-4bf3-838c-87ce785a2ad2",
"db_language_code": "sample string 7",
"db_title_id": "e0b50e28-b6c3-4e3b-b5a2-d60a47f2e2f0",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-05-02T06:22:51.695716+00:00",
"create_date": "2026-05-02T06:22:51.695716+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-05-02T06:22:51.695716+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.