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": "9d1d6e6a-872f-4aa2-9aa9-7ea5b42d39f2",
"firstname": "sample string 2",
"lastname": "sample string 3",
"company_id": "750e156f-d1c9-44f3-bf7f-3122dd39200c",
"company_code": "sample string 5",
"company": {
"id": "ee18b829-9b77-4298-8991-af94d84c455d",
"is_client": true,
"is_supplier": true,
"archived": true,
"name": "sample string 5",
"notes": "sample string 6",
"create_date": "2026-11-04T05:39:48.4151511+00:00",
"sales_territory_id": "3459f3f4-e10c-427b-95c6-ced0425106af",
"sales_territory_code": "sample string 9",
"sales_territory": {
"id": "d8c6850a-5dd7-4f0c-b1a7-f80767593b20",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "ad2406b8-6159-4e1b-9fd0-3f5eec4a9261",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "cb90ab1e-7114-46eb-8d9b-b43d9594557b",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "55584b55-5780-4a4d-a925-a7620ce2c595",
"db_currency_id": "8122100b-87f7-4c47-83bf-4d7ea1a895d0",
"db_language_id": "cb652426-6022-42eb-a712-220532b21f80",
"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-11-04T05:39:48.4151511+00:00"
},
"modified_dateutc": "2026-11-04T05:39:48.4151511+00:00"
},
"marketing_segment_id": "ca1dad0e-e0c3-43da-9b3c-6b0fadfe1315",
"marketing_segment_code": "sample string 11",
"sales_organization_id": "881d10d4-509f-40b3-b496-639d4c9ec7b5",
"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": "4c69c996-f660-4d5d-902c-0528175a5808",
"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": "f69daa96-fe55-4b96-873a-894177bc231b",
"db_country_code": "sample string 28",
"feelist_id": "b2ba8193-c777-4b80-aa18-81411a98d7d5",
"feelist_reference_back_office": "sample string 30",
"feelist": {
"id": "2f953e2e-98f5-4ddb-926a-6317724fa8ea",
"name": "sample string 2",
"description": "sample string 3",
"is_default": true,
"default_price": 1.0,
"sales_organization_id": "adf7a889-a1a9-42dd-8450-afdd9558ca61",
"sales_organization_code": "sample string 6",
"reference_back_office": "sample string 7",
"modified_dateutc": "2026-11-04T05:39:48.4151511+00:00",
"db_currency_id": "d88ff7a4-4086-457b-a4b7-4b874b49ffb0",
"db_currency_code": "sample string 10"
},
"company_type_id": "a1d90111-6c2d-44df-ab1b-ea6381c193b3",
"company_type_name": "sample string 32",
"company_type": {
"id": "49a392cb-9ace-4861-866e-c79bb88d4f6e",
"name": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "6fb739e1-ac18-4e68-860e-1acaf6f42ad7",
"sales_organization_code": "sample string 5"
},
"db_language_id": "b94f956e-cb2a-47dd-8027-59ea5ab2ebf1",
"db_language_code": "sample string 34",
"code": "sample string 35",
"article_price_label_id": "48c5849f-b245-4f05-b870-3ef9c30bffc6",
"article_price_label_code": "sample string 37",
"db_payment_method_id": "c7b8e2c8-e291-4591-852c-323834b72416",
"db_payment_method_reference_back_office": "sample string 39",
"db_payment_methods": {
"id": "79bd42db-625b-403e-8879-3bd41f78edd6",
"name": "sample string 2",
"description": "sample string 3",
"reference_back_office": "sample string 4",
"activated": true,
"modified_dateutc": "2026-11-04T05:39:48.4307732+00:00"
},
"company_sector_id": "4154ad77-6c24-42fa-80d1-4d4daeff3ef9",
"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": "60bbac79-6e6f-4df9-b315-3f3868005ef8",
"service_manager_user_code": "sample string 52",
"finance_manager_user_id": "6b04e5cb-5c02-4144-88fd-809754f56c4b",
"finance_manager_user_code": "sample string 54",
"account_manager_user_id": "356b8765-d318-4564-adc7-b5a7176f2f91",
"account_manager_user_code": "sample string 56",
"company_status_id": "b8a5c5f8-85ab-4dcb-94c4-7db6216f0255",
"invoice_email_to": "sample string 58",
"modified_dateutc": "2026-11-04T05:39:48.4307732+00:00",
"id2": 60
},
"db_language_id": "028bdfdc-900d-41df-af68-c3732158744f",
"db_language_code": "sample string 7",
"db_title_id": "ef798234-2b26-4715-8c82-48ee8c59afbf",
"archived": true,
"functions": "sample string 10",
"e_login": "sample string 11",
"e_password": "sample string 12",
"notes": "sample string 13",
"birthdate": "2026-11-04T05:39:48.4307732+00:00",
"create_date": "2026-11-04T05:39:48.4307732+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-11-04T05:39:48.4307732+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.