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": "f8129552-96a1-4df4-af5e-06075e7f4802",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "7525bacd-364d-4d2b-a71d-4c4876a7baf4",
"company_code": "sample string 5",
"company": {
"id": "806eb892-1057-49c4-8408-b8458791a5bb",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-10-10T14:02:28.2373725+00:00",
"sales_territory_id": "9804345d-1780-451f-880f-2d545266b207",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "8a1e7c3b-5601-4c3b-901e-cf810e329f1f",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "2252ff9a-4e4f-4484-a491-aea663df06f5",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "1fe74c91-cddd-4172-b9f3-2155910790e9",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "e01e11f0-78d1-4c0b-a620-e9489ad08e83",
"db_currency_id": "e9e77e39-d6ac-4fef-88b6-3fff631a01a4",
"db_language_id": "f36941c9-f901-4c49-8496-fdeecf80ef06",
"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-10T14:02:28.2373725+00:00"
},
"modified_dateutc": "2026-10-10T14:02:28.2373725+00:00"
},
"marketing_segment_id": "78bbcc42-d5ef-41e2-9a31-a4539c106713",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "1c6fdf0c-001a-4dfc-82a9-d2430122c5e2",
"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": "c51653d2-f3e9-4b8c-ac89-a7a9b3a93f33",
"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": "f581e29b-ba60-4497-978f-f488759a2df2",
"db_country_code": "sample string 28",
"feelist_id": "e2371204-d506-461f-86b0-a8838b2760f8",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "094e518e-b160-472f-a520-b780f5c0928a",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "e9efbfe2-89a2-4c33-99ee-2d68b91af36b",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-10-10T14:02:28.2373725+00:00",
"db_currency_id": "4d122c56-78e1-4fe3-a83e-e829f0240c1c",
"db_currency_code": "sample string 10"
},
"company_type_id": "b33cfd16-bf5f-420e-a7ff-588e493a921a",
"company_type_name": "sample string 32",
"company_type": {
"id": "5af3fcf8-e23a-4904-aa1c-8bfe5f414a7e",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "b80149d1-8286-4660-be77-0eda24b178d1",
"sales_organization_code": "sample string 5"
},
"db_language_id": "8ee4b960-0eef-432d-8009-18c7959f842f",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "e7fc04d7-278e-42ef-9424-00da2abafc2e",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "0557f383-5214-4eb3-821b-c0d5dc1c8cc0",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "41df10c9-fc97-4de1-8fa6-7c8adbe76ae8",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-10-10T14:02:28.2373725+00:00"
},
"company_sector_id": "4b73e092-5869-42df-980e-8e6559fec83a",
"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": "327f05d4-e204-4275-b382-4e1467a42d32",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "98a3a2d7-ebf4-459c-8a2b-02e35cf5e901",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "dcc04e7b-6681-4772-9c66-54d9128e71a6",
"account_manager_user_code": "sample string 56",
"company_status_id": "5b4bef13-3af8-4ace-b941-28faf684c503",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-10-10T14:02:28.2564214+00:00",
"id2": 60
},
"db_language_id": "71adc405-213b-4f58-8939-049d4aa8c9d4",
"db_language_code": "sample string 7",
"db_title_id": "2acefc0c-6bbe-4d05-8f4b-7b7e39f26ea8",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-10-10T14:02:28.2564214+00:00",
"create_date": "2026-10-10T14:02:28.2564214+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-10T14:02:28.2564214+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.