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

KrnKarteninhaber
NameDescriptionTypeAdditional information
Id

integer

Required

KartentypId

integer

Required

PersonId

integer

Required

Nummer

string

None.

Beginn

date

Required

Ende

date

None.

RowGuid

globally unique identifier

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "KartentypId": 2,
  "PersonId": 3,
  "Nummer": "sample string 4",
  "Beginn": "2025-10-25T21:03:37.6628803+02:00",
  "Ende": "2025-10-25T21:03:37.6628803+02:00",
  "RowGuid": "1d5a7ed8-9c14-4030-8842-794814d3709a"
}

application/xml, text/xml

Sample:
<KrnKarteninhaber xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Krn.Models">
  <Beginn>2025-10-25T21:03:37.6628803+02:00</Beginn>
  <Ende>2025-10-25T21:03:37.6628803+02:00</Ende>
  <Id>1</Id>
  <KartentypId>2</KartentypId>
  <Nummer>sample string 4</Nummer>
  <PersonId>3</PersonId>
  <RowGuid>1d5a7ed8-9c14-4030-8842-794814d3709a</RowGuid>
</KrnKarteninhaber>