POST api/krnverteilergruppe/keyvalue

Request Information

URI Parameters

None.

Body Parameters

KrnVerteilergruppeSelect
NameDescriptionTypeAdditional information
Id

integer

None.

Ids

Collection of integer

None.

ElternId

integer

None.

BenutzerId

integer

None.

RolleId

integer

None.

Bezeichnung

string

None.

Gruppentyp

integer

None.

BezeichnungArray

Collection of 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,
  "Ids": [
    1,
    2
  ],
  "ElternId": 1,
  "BenutzerId": 1,
  "RolleId": 1,
  "Bezeichnung": "sample string 1",
  "Gruppentyp": 1,
  "BezeichnungArray": [
    "sample string 1",
    "sample string 2"
  ],
  "PageSize": 2,
  "PageIndex": 3,
  "SortField": "sample string 4",
  "SortFieldDefault": "sample string 5",
  "Quicksearch": "sample string 6",
  "filterIsSet": true
}

application/xml, text/xml

Sample:
<KrnVerteilergruppeSelect 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">3</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">2</PageSize>
  <Quicksearch xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 6</Quicksearch>
  <SortField xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 4</SortField>
  <SortFieldDefault xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 5</SortFieldDefault>
  <filterIsSet xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">true</filterIsSet>
  <BenutzerId>1</BenutzerId>
  <Bezeichnung>sample string 1</Bezeichnung>
  <BezeichnungArray xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </BezeichnungArray>
  <ElternId>1</ElternId>
  <Gruppentyp>1</Gruppentyp>
  <Id>1</Id>
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Ids>
  <RolleId>1</RolleId>
</KrnVerteilergruppeSelect>

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

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>