POST api/krnbescheid/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

KrnBescheid
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

OrganisationId

integer

Required

Typ

integer

Required

Datum

date

Required

Beginn

date

None.

Ende

date

None.

Kommentar

string

None.

Bemerkung

string

None.

Zusatzfeld1

string

None.

Zusatzfeld2

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "3a804499-ae0c-4a59-8781-24aa2abad09d",
  "OrganisationId": 3,
  "Typ": 4,
  "Datum": "2025-10-25T21:04:15.8016369+02:00",
  "Beginn": "2025-10-25T21:04:15.8016369+02:00",
  "Ende": "2025-10-25T21:04:15.8016369+02:00",
  "Kommentar": "sample string 6",
  "Bemerkung": "sample string 7",
  "Zusatzfeld1": "sample string 8",
  "Zusatzfeld2": "sample string 9"
}

application/xml, text/xml

Sample:
<KrnBescheid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Krn.Models">
  <Beginn>2025-10-25T21:04:15.8016369+02:00</Beginn>
  <Bemerkung>sample string 7</Bemerkung>
  <Datum>2025-10-25T21:04:15.8016369+02:00</Datum>
  <Ende>2025-10-25T21:04:15.8016369+02:00</Ende>
  <Id>1</Id>
  <Kommentar>sample string 6</Kommentar>
  <OrganisationId>3</OrganisationId>
  <RowGuid>3a804499-ae0c-4a59-8781-24aa2abad09d</RowGuid>
  <Typ>4</Typ>
  <Zusatzfeld1>sample string 8</Zusatzfeld1>
  <Zusatzfeld2>sample string 9</Zusatzfeld2>
</KrnBescheid>