POST api/lizlizenzmassnahme/preparenew

Request Information

URI Parameters

None.

Body Parameters

Collection of KeyValue
NameDescriptionTypeAdditional information
Id

integer

Required

Value

string

None.

Request 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>

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 'List`1'.

Response Information

Resource Description

LizLizenzMassnahme
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

LizenzId

integer

Required

Massnahme

integer

Required

Erlangungsort

string

None.

Erlangungsdatum

date

None.

GueltigBis

date

Required

AnzahlLe

integer

Required

AusbilderId

integer

None.

PrueferId

integer

None.

VeranstaltungId

integer

None.

VeranstaltungVon

date

None.

VeranstaltungBis

date

None.

ExterneVeranstaltung

string

None.

Aktiv

boolean

Required

GueltigBisUebernahme

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "bf99e1cd-e17b-46e3-b16c-77b450c8bd10",
  "LizenzId": 3,
  "Massnahme": 4,
  "Erlangungsort": "sample string 5",
  "Erlangungsdatum": "2025-10-25T21:03:43.030462+02:00",
  "GueltigBis": "2025-10-25T21:03:43.030462+02:00",
  "AnzahlLe": 7,
  "AusbilderId": 1,
  "PrueferId": 1,
  "VeranstaltungId": 1,
  "VeranstaltungVon": "2025-10-25T21:03:43.030462+02:00",
  "VeranstaltungBis": "2025-10-25T21:03:43.030462+02:00",
  "ExterneVeranstaltung": "sample string 8",
  "Aktiv": true,
  "GueltigBisUebernahme": true
}

application/xml, text/xml

Sample:
<LizLizenzMassnahme xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Liz.Models">
  <Aktiv>true</Aktiv>
  <AnzahlLe>7</AnzahlLe>
  <AusbilderId>1</AusbilderId>
  <Erlangungsdatum>2025-10-25T21:03:43.030462+02:00</Erlangungsdatum>
  <Erlangungsort>sample string 5</Erlangungsort>
  <ExterneVeranstaltung>sample string 8</ExterneVeranstaltung>
  <GueltigBis>2025-10-25T21:03:43.030462+02:00</GueltigBis>
  <GueltigBisUebernahme>true</GueltigBisUebernahme>
  <Id>1</Id>
  <LizenzId>3</LizenzId>
  <Massnahme>4</Massnahme>
  <PrueferId>1</PrueferId>
  <RowGuid>bf99e1cd-e17b-46e3-b16c-77b450c8bd10</RowGuid>
  <VeranstaltungBis>2025-10-25T21:03:43.030462+02:00</VeranstaltungBis>
  <VeranstaltungId>1</VeranstaltungId>
  <VeranstaltungVon>2025-10-25T21:03:43.030462+02:00</VeranstaltungVon>
</LizLizenzMassnahme>