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": "e3cf576b-2b88-4b4d-bb03-033cf5c532ed",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "194de1ea-b5fb-4df1-a0dc-ea5e05f98345",
"company_code": "sample string 5",
"company": {
"id": "84596519-33d2-4cb3-874a-c7b4fe125c53",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-07-02T22:08:27.1535407+00:00",
"sales_territory_id": "81a5cdf7-41ff-4996-bcb5-8d9ee277091b",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "540304f8-b115-4a0e-b19a-24f3352e4c20",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "4232b813-6cdb-4681-bffb-3e3fd4ddd9b2",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "d90356c1-c074-4a81-bebd-ae793a6a50ba",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "6f27d77f-37e5-48d1-9a4d-aec4d5ae3070",
"db_currency_id": "949fbcf6-2102-4d70-80c2-0efc52a9f131",
"db_language_id": "0176f95b-0fbb-4212-a951-065bc26b3551",
"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-07-02T22:08:27.1535407+00:00"
},
"modified_dateutc": "2026-07-02T22:08:27.1535407+00:00"
},
"marketing_segment_id": "f47ad6dc-8c4b-4c73-a4b9-7eaa306ac29c",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "21bf8ca1-3be1-4889-b1e9-b9f6a149c618",
"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": "064ad7cf-a51c-4a27-a646-9b1039b3b958",
"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": "6adf1d2b-22a0-4e01-beab-5de6342e9e02",
"db_country_code": "sample string 28",
"feelist_id": "5d4a90bc-34d7-4c41-b2bf-0166608ae5e6",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "e36a99e3-a1c4-4584-b048-bdf1990c0882",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "ab29810c-cc41-408a-907e-d5743bb0354f",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-07-02T22:08:27.1535407+00:00",
"db_currency_id": "d3226e25-8b21-46b4-8846-16ebfa7b43bf",
"db_currency_code": "sample string 10"
},
"company_type_id": "e95d94bd-da0a-4396-9c43-c95f99b7e2f4",
"company_type_name": "sample string 32",
"company_type": {
"id": "4bd8b209-81bc-4bb7-8bcf-50b340c8868d",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "ec4f0360-0eeb-460f-88a1-013d931706cb",
"sales_organization_code": "sample string 5"
},
"db_language_id": "0e9ec469-dcf8-4bf8-a59d-94b18d754245",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "9c40a8cb-5936-45db-adef-11528f57a0bf",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "642c9cfc-171c-49c8-9d50-8edd7fef4c59",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "cf6dc362-5e73-42d2-bff8-59f4238c52ec",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-07-02T22:08:27.1535407+00:00"
},
"company_sector_id": "bdba40e3-9744-4841-b49d-a72e1fe57408",
"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": "b76c2bc0-7161-42d2-8ded-db9fea15f1a2",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "7b22f9f6-27cc-4eb7-8c9e-42e773e50443",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "5d4e9251-8879-4553-b8fa-a2a6fce1e66a",
"account_manager_user_code": "sample string 56",
"company_status_id": "65531393-51c1-4ef5-8017-e03ebcef45bf",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-07-02T22:08:27.1535407+00:00",
"id2": 60
},
"db_language_id": "ac6cdd8b-5c19-4960-9122-9b8099bd932a",
"db_language_code": "sample string 7",
"db_title_id": "e3c025f3-8cfc-4575-9871-014372289363",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-07-02T22:08:27.1535407+00:00",
"create_date": "2026-07-02T22:08:27.1535407+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-07-02T22:08:27.1535407+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.