POST api/krngemeinde/keyvalue

Request Information

URI Parameters

None.

Body Parameters

KrnGemeindeSelect
NameDescriptionTypeAdditional information
Id

integer

None.

Schluessel

string

None.

SchluesselFrom

string

None.

SchluesselTo

string

None.

StufeFrom

integer

None.

StufeTo

integer

None.

PostleitzahlFrom

string

None.

PostleitzahlTo

string

None.

Bezeichnung

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,
  "Schluessel": "sample string 1",
  "SchluesselFrom": "sample string 2",
  "SchluesselTo": "sample string 3",
  "StufeFrom": 1,
  "StufeTo": 1,
  "PostleitzahlFrom": "sample string 4",
  "PostleitzahlTo": "sample string 5",
  "Bezeichnung": "sample string 6",
  "PageSize": 7,
  "PageIndex": 8,
  "SortField": "sample string 9",
  "SortFieldDefault": "sample string 10",
  "Quicksearch": "sample string 11",
  "filterIsSet": true
}

application/xml, text/xml

Sample:
<KrnGemeindeSelect xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Krn.Models">
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">8</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">7</PageSize>
  <Quicksearch xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 11</Quicksearch>
  <SortField xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 9</SortField>
  <SortFieldDefault xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 10</SortFieldDefault>
  <filterIsSet xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">true</filterIsSet>
  <Bezeichnung>sample string 6</Bezeichnung>
  <Id>1</Id>
  <PostleitzahlFrom>sample string 4</PostleitzahlFrom>
  <PostleitzahlTo>sample string 5</PostleitzahlTo>
  <Schluessel>sample string 1</Schluessel>
  <SchluesselFrom>sample string 2</SchluesselFrom>
  <SchluesselTo>sample string 3</SchluesselTo>
  <StufeFrom>1</StufeFrom>
  <StufeTo>1</StufeTo>
</KrnGemeindeSelect>

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

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>