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

BstSportkreiszahlen
NameDescriptionTypeAdditional information
Id

integer

Required

ErhebungId

integer

Required

OrganisationId

integer

Required

Anzahlvereine

integer

Required

Anzahlmitglieder

integer

Required

RowGuid

globally unique identifier

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ErhebungId": 2,
  "OrganisationId": 3,
  "Anzahlvereine": 4,
  "Anzahlmitglieder": 5,
  "RowGuid": "2f70a779-7861-49ed-b1a7-c1a6e3956e27"
}

application/xml, text/xml

Sample:
<BstSportkreiszahlen xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Bst.Models">
  <Anzahlmitglieder>5</Anzahlmitglieder>
  <Anzahlvereine>4</Anzahlvereine>
  <ErhebungId>2</ErhebungId>
  <Id>1</Id>
  <OrganisationId>3</OrganisationId>
  <RowGuid>2f70a779-7861-49ed-b1a7-c1a6e3956e27</RowGuid>
</BstSportkreiszahlen>