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

BstGruppendaten
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

KrnPersonId

integer

None.

Nummer

integer

Required

Bezeichnung

string

None.

Alterskategorie

integer

Required

Geschlecht

integer

Required

Selbstdarstellung

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "e32da2e8-5b60-42ba-ba14-053e9f641e39",
  "KrnPersonId": 1,
  "Nummer": 3,
  "Bezeichnung": "sample string 4",
  "Alterskategorie": 5,
  "Geschlecht": 6,
  "Selbstdarstellung": "sample string 7"
}

application/xml, text/xml

Sample:
<BstGruppendaten xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Bst.Models">
  <Alterskategorie>5</Alterskategorie>
  <Bezeichnung>sample string 4</Bezeichnung>
  <Geschlecht>6</Geschlecht>
  <Id>1</Id>
  <KrnPersonId>1</KrnPersonId>
  <Nummer>3</Nummer>
  <RowGuid>e32da2e8-5b60-42ba-ba14-053e9f641e39</RowGuid>
  <Selbstdarstellung>sample string 7</Selbstdarstellung>
</BstGruppendaten>