POST api/lizlizenzmassnahme/keyvalue

Request Information

URI Parameters

None.

Body Parameters

LizLizenzMassnahmeSelect
NameDescriptionTypeAdditional information
Id

integer

None.

LizenzId

integer

None.

Massnahme

integer

None.

Erlangungsort

string

None.

ErlangungsdatumFrom

date

None.

ErlangungsdatumTo

date

None.

GueltigBisFrom

date

None.

GueltigBisTo

date

None.

AnzahlLeFrom

integer

None.

AnzahlLeTo

integer

None.

AusbilderId

integer

None.

PrueferId

integer

None.

VeranstaltungVonFrom

date

None.

VeranstaltungVonTo

date

None.

VeranstaltungBisFrom

date

None.

VeranstaltungBisTo

date

None.

Aktiv

boolean

None.

ExterneVeranstaltung

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,
  "LizenzId": 1,
  "Massnahme": 1,
  "Erlangungsort": "sample string 1",
  "ErlangungsdatumFrom": "2025-10-25T20:57:48.3603537+02:00",
  "ErlangungsdatumTo": "2025-10-25T20:57:48.3603537+02:00",
  "GueltigBisFrom": "2025-10-25T20:57:48.3613549+02:00",
  "GueltigBisTo": "2025-10-25T20:57:48.3613549+02:00",
  "AnzahlLeFrom": 1,
  "AnzahlLeTo": 1,
  "AusbilderId": 1,
  "PrueferId": 1,
  "VeranstaltungVonFrom": "2025-10-25T20:57:48.3613549+02:00",
  "VeranstaltungVonTo": "2025-10-25T20:57:48.3613549+02:00",
  "VeranstaltungBisFrom": "2025-10-25T20:57:48.3613549+02:00",
  "VeranstaltungBisTo": "2025-10-25T20:57:48.3613549+02:00",
  "Aktiv": true,
  "ExterneVeranstaltung": "sample string 2",
  "PageSize": 3,
  "PageIndex": 4,
  "SortField": "sample string 5",
  "SortFieldDefault": "sample string 6",
  "Quicksearch": "sample string 7",
  "filterIsSet": true
}

application/xml, text/xml

Sample:
<LizLizenzMassnahmeSelect xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Liz.Models">
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">4</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">3</PageSize>
  <Quicksearch xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 7</Quicksearch>
  <SortField xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 5</SortField>
  <SortFieldDefault xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 6</SortFieldDefault>
  <filterIsSet xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">true</filterIsSet>
  <Aktiv>true</Aktiv>
  <AnzahlLeFrom>1</AnzahlLeFrom>
  <AnzahlLeTo>1</AnzahlLeTo>
  <AusbilderId>1</AusbilderId>
  <ErlangungsdatumFrom>2025-10-25T20:57:48.3603537+02:00</ErlangungsdatumFrom>
  <ErlangungsdatumTo>2025-10-25T20:57:48.3603537+02:00</ErlangungsdatumTo>
  <Erlangungsort>sample string 1</Erlangungsort>
  <ExterneVeranstaltung>sample string 2</ExterneVeranstaltung>
  <GueltigBisFrom>2025-10-25T20:57:48.3613549+02:00</GueltigBisFrom>
  <GueltigBisTo>2025-10-25T20:57:48.3613549+02:00</GueltigBisTo>
  <Id>1</Id>
  <LizenzId>1</LizenzId>
  <Massnahme>1</Massnahme>
  <PrueferId>1</PrueferId>
  <VeranstaltungBisFrom>2025-10-25T20:57:48.3613549+02:00</VeranstaltungBisFrom>
  <VeranstaltungBisTo>2025-10-25T20:57:48.3613549+02:00</VeranstaltungBisTo>
  <VeranstaltungVonFrom>2025-10-25T20:57:48.3613549+02:00</VeranstaltungVonFrom>
  <VeranstaltungVonTo>2025-10-25T20:57:48.3613549+02:00</VeranstaltungVonTo>
</LizLizenzMassnahmeSelect>

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

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>