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

KsvTeilnehmer
NameDescriptionTypeAdditional information
Id

integer

Required

AntragId

integer

Required

Lfdnr

integer

Required

Nachname

string

None.

Vorname

string

None.

RowGuid

globally unique identifier

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "AntragId": 2,
  "Lfdnr": 3,
  "Nachname": "sample string 4",
  "Vorname": "sample string 5",
  "RowGuid": "eb5695ba-d12a-408c-b01d-c5eead8671b5"
}

application/xml, text/xml

Sample:
<KsvTeilnehmer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ksv.Models">
  <AntragId>2</AntragId>
  <Id>1</Id>
  <Lfdnr>3</Lfdnr>
  <Nachname>sample string 4</Nachname>
  <RowGuid>eb5695ba-d12a-408c-b01d-c5eead8671b5</RowGuid>
  <Vorname>sample string 5</Vorname>
</KsvTeilnehmer>