POST api/appdashboardwidgetrestriction/keyvalue

Request Information

URI Parameters

None.

Body Parameters

AppDashboardWidgetRestrictionSelect
NameDescriptionTypeAdditional information
Id

integer

None.

AppDashboardWidgetId

integer

None.

Active

integer

None.

Type

integer

None.

Value

string

None.

Zusatzfeld1

string

None.

Zusatzfeld2

string

None.

Bemerkung

string

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,
  "AppDashboardWidgetId": 1,
  "Active": 1,
  "Type": 1,
  "Value": "sample string 1",
  "Zusatzfeld1": "sample string 2",
  "Zusatzfeld2": "sample string 3",
  "Bemerkung": "sample string 4",
  "PageSize": 5,
  "PageIndex": 6,
  "SortField": "sample string 7",
  "SortFieldDefault": "sample string 8",
  "Quicksearch": "sample string 9",
  "filterIsSet": true
}

application/xml, text/xml

Sample:
<AppDashboardWidgetRestrictionSelect xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <PageIndex>6</PageIndex>
  <PageSize>5</PageSize>
  <Quicksearch>sample string 9</Quicksearch>
  <SortField>sample string 7</SortField>
  <SortFieldDefault>sample string 8</SortFieldDefault>
  <filterIsSet>true</filterIsSet>
  <Active>1</Active>
  <AppDashboardWidgetId>1</AppDashboardWidgetId>
  <Bemerkung>sample string 4</Bemerkung>
  <Id>1</Id>
  <Type>1</Type>
  <Value>sample string 1</Value>
  <Zusatzfeld1>sample string 2</Zusatzfeld1>
  <Zusatzfeld2>sample string 3</Zusatzfeld2>
</AppDashboardWidgetRestrictionSelect>

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 'AppDashboardWidgetRestrictionSelect'.

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>