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.

TagIds

Collection of integer

None.

TagFullMatch

boolean

None.

WithTags

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-12-06T06:30:41.4951814+01:00",
  "ValueDatetimeTo": "2025-12-06T06:30:41.4951814+01: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,
  "TagIds": [
    1,
    2
  ],
  "TagFullMatch": true,
  "WithTags": 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>
  <TagFullMatch>true</TagFullMatch>
  <TagIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </TagIds>
  <WithTags>true</WithTags>
  <filterIsSet>true</filterIsSet>
  <Description>sample string 3</Description>
  <Id>1</Id>
  <ValueBit>1</ValueBit>
  <ValueDatetimeFrom>2025-12-06T06:30:41.4951814+01:00</ValueDatetimeFrom>
  <ValueDatetimeTo>2025-12-06T06:30:41.4951814+01: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:

Sample not available.

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>