Creates a new item
Request Information
URI Parameters :
None.
Body Parameters :
db_info_fieldName | Description | Type | Additional information |
---|---|---|---|
id |
Primary key |
globally unique identifier | |
db_info_id |
Foreign key to db_info (chapters) |
globally unique identifier |
Optionally required : db_info_id,db_info_code or node db_info must be provided |
db_info_code |
Embedded entity "db_info" using ERP PK when adding/updating db_info_field |
string |
Optionally required : db_info_id ,db_info_code or node db_info must be provided |
db_info |
Embedded entity "db_info" (chapter) when adding/updating db_info_field |
db_info |
Optionally required : db_info_id,db_info_code or node db_info must be provided |
db_input_type_id |
Type of the fied (like Textbox,TextArea) |
globally unique identifier |
Optionally required : db_input_type_id or db_input_type_code must be provided |
db_input_type_code |
Use of the possible type : TextBox,TextArea,SelectBox,RadioButton,DateTime,NumericField,Checkbox,ComboBox,Email,Url,DatePicker,MonthCalendar,TimePiker,Number |
string |
Optionally required : db_input_type_id or db_input_type_code must be provided |
name |
Name/Code of the info field.Field used for Embedded entity (store there your ERP PK) |
string |
Required Max length: 50 |
title |
Title that will be shown on the UI of the info field |
string |
Required Max length: 50 |
sequence |
Sorting field (0 first), to order them inside the chapter |
integer | |
description |
Description of the field |
string |
Max length: 255 |
is_mandatory |
Force user to fill it before saving |
boolean | |
is_readonly |
Avoid user to edit the value using the UI |
boolean | |
hide_in_view_if_empty |
Hide this field in view mode if no value |
boolean | |
udf_name |
Name of udf column that links to info field (read-only) |
string | |
visible_on_app |
Visible this field on app |
boolean |
Request Formats :
application/json, text/json
{ "id": "9d6a5bb1-ec12-4034-8cc4-3adb8851c298", "db_info_id": "98f21219-98a4-41c2-8f7a-286d2b2d30b8", "db_info_code": "sample string 3", "db_info": { "id": "a4551b0f-773f-4879-bb27-8adf21ccc604", "name": "sample string 2", "code": "sample string 3", "sequence": 4, "db_info_category_id": "3582cc29-54b8-48dc-9bea-7e32b58510df", "db_info_category_code": "sample string 6", "parent_id": "ca5e6ffa-2a0f-47ee-991b-d7bacc9b6141", "parent_db_info_code": "sample string 8", "modified_dateutc": "2025-04-26T17:54:31.2800324+00:00" }, "db_input_type_id": "40cdc89e-2c7f-4081-8c50-5f5f633b1c9c", "db_input_type_code": "sample string 5", "name": "sample string 6", "title": "sample string 7", "sequence": 8, "description": "sample string 9", "is_mandatory": true, "is_readonly": true, "hide_in_view_if_empty": true, "udf_name": "sample string 13", "visible_on_app": true }
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.