Updates the item with the specified key

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters :

db_info_field
NameDescriptionTypeAdditional 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

Request Formats :

application/json, text/json

Sample:
{
  "id": "5d91e317-801c-4bbe-b3de-8d3f701e8479",
  "db_info_id": "b1631cd7-86a3-4deb-9f1e-edc9c5a6d28f",
  "db_info_code": "sample string 3",
  "db_info": {
    "id": "e8ff9513-676d-442a-95b7-6f3c1c0245b5",
    "name": "sample string 2",
    "code": "sample string 3",
    "sequence": 4,
    "db_info_category_id": "b43b5217-ef06-4f79-9cbe-f2ac12184c61",
    "db_info_category_code": "sample string 6",
    "parent_id": "616723fe-8eaf-4f2d-8a04-ef8ec4cf5e3f",
    "parent_db_info_code": "sample string 8",
    "modified_dateutc": "2024-11-21T09:37:17.2983503+00:00"
  },
  "db_input_type_id": "d954c680-be9d-4d2d-8036-fd8b6aa2c992",
  "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
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.