POST api/krnelement2sportart/keyvalue

Request Information

URI Parameters

None.

Body Parameters

KrnElement2SportartSelect
NameDescriptionTypeAdditional information
Id

integer

None.

RowGuid

string

None.

PersonId

integer

None.

OrganisationId

integer

None.

SportartId

integer

None.

BeginnFrom

date

None.

BeginnTo

date

None.

EndeFrom

date

None.

EndeTo

date

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,
  "RowGuid": "sample string 1",
  "PersonId": 1,
  "OrganisationId": 1,
  "SportartId": 1,
  "BeginnFrom": "2025-10-25T23:13:40.1361852+02:00",
  "BeginnTo": "2025-10-25T23:13:40.1361852+02:00",
  "EndeFrom": "2025-10-25T23:13:40.1361852+02:00",
  "EndeTo": "2025-10-25T23:13:40.1361852+02:00",
  "PageSize": 2,
  "PageIndex": 3,
  "SortField": "sample string 4",
  "SortFieldDefault": "sample string 5",
  "Quicksearch": "sample string 6",
  "filterIsSet": true
}

application/xml, text/xml

Sample:
<KrnElement2SportartSelect 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>
  <BeginnFrom>2025-10-25T23:13:40.1361852+02:00</BeginnFrom>
  <BeginnTo>2025-10-25T23:13:40.1361852+02:00</BeginnTo>
  <EndeFrom>2025-10-25T23:13:40.1361852+02:00</EndeFrom>
  <EndeTo>2025-10-25T23:13:40.1361852+02:00</EndeTo>
  <Id>1</Id>
  <OrganisationId>1</OrganisationId>
  <PersonId>1</PersonId>
  <RowGuid>sample string 1</RowGuid>
  <SportartId>1</SportartId>
</KrnElement2SportartSelect>

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

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>