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

SazAltersgruppe
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

Bezeichnung

string

None.

AlterVon

integer

Required

AlterBis

integer

Required

Geschlecht

integer

Required

Jugend

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "032b30ca-3f30-4579-ac60-3872f7f06ff9",
  "Bezeichnung": "sample string 3",
  "AlterVon": 4,
  "AlterBis": 5,
  "Geschlecht": 6,
  "Jugend": true
}

application/xml, text/xml

Sample:
<SazAltersgruppe xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Saz.Models">
  <AlterBis>5</AlterBis>
  <AlterVon>4</AlterVon>
  <Bezeichnung>sample string 3</Bezeichnung>
  <Geschlecht>6</Geschlecht>
  <Id>1</Id>
  <Jugend>true</Jugend>
  <RowGuid>032b30ca-3f30-4579-ac60-3872f7f06ff9</RowGuid>
</SazAltersgruppe>