POST api/appvalues/keyvalue

Request Information

URI Parameters

None.

Body Parameters

AppValuesSelect
NameDescriptionTypeAdditional information
Id

integer

None.

ValueKey

string

None.

ValueIntFrom

integer

None.

ValueIntTo

integer

None.

ValueNVarchar

string

None.

ValueDatetimeFrom

date

None.

ValueDatetimeTo

date

None.

Description

string

None.

ValueBit

integer

None.

PageSize

integer

Required

PageIndex

integer

Required

SortField

string

None.

SortFieldDefault

string

None.

Quicksearch

string

None.

filterIsSet

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ValueKey": "sample string 1",
  "ValueIntFrom": 1,
  "ValueIntTo": 1,
  "ValueNVarchar": "sample string 2",
  "ValueDatetimeFrom": "2025-10-25T23:08:37.160592+02:00",
  "ValueDatetimeTo": "2025-10-25T23:08:37.160592+02:00",
  "Description": "sample string 3",
  "ValueBit": 1,
  "PageSize": 4,
  "PageIndex": 5,
  "SortField": "sample string 6",
  "SortFieldDefault": "sample string 7",
  "Quicksearch": "sample string 8",
  "filterIsSet": true
}

application/xml, text/xml

Sample:
<AppValuesSelect xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <PageIndex>5</PageIndex>
  <PageSize>4</PageSize>
  <Quicksearch>sample string 8</Quicksearch>
  <SortField>sample string 6</SortField>
  <SortFieldDefault>sample string 7</SortFieldDefault>
  <filterIsSet>true</filterIsSet>
  <Description>sample string 3</Description>
  <Id>1</Id>
  <ValueBit>1</ValueBit>
  <ValueDatetimeFrom>2025-10-25T23:08:37.160592+02:00</ValueDatetimeFrom>
  <ValueDatetimeTo>2025-10-25T23:08:37.160592+02:00</ValueDatetimeTo>
  <ValueIntFrom>1</ValueIntFrom>
  <ValueIntTo>1</ValueIntTo>
  <ValueKey>sample string 1</ValueKey>
  <ValueNVarchar>sample string 2</ValueNVarchar>
</AppValuesSelect>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AppValuesSelect'.

Response Information

Resource Description

Collection of KeyValue
NameDescriptionTypeAdditional information
Id

integer

Required

Value

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Value": "sample string 2"
  },
  {
    "Id": 1,
    "Value": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfKeyValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <KeyValue>
    <Id>1</Id>
    <Value>sample string 2</Value>
  </KeyValue>
  <KeyValue>
    <Id>1</Id>
    <Value>sample string 2</Value>
  </KeyValue>
</ArrayOfKeyValue>