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

BstFachverband
NameDescriptionTypeAdditional information
Id

integer

Required

OrganisationId

integer

Required

Nummer

integer

Required

NummerVerband

integer

Required

Bezeichnung

string

None.

RowGuid

globally unique identifier

Required

Kategorie

integer

Required

Sichtbar

boolean

Required

Bemerkung

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OrganisationId": 2,
  "Nummer": 3,
  "NummerVerband": 4,
  "Bezeichnung": "sample string 5",
  "RowGuid": "724f4df8-a3c5-44f9-9a96-644385740d8c",
  "Kategorie": 7,
  "Sichtbar": true,
  "Bemerkung": "sample string 9"
}

application/xml, text/xml

Sample:
<BstFachverband xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Bst.Models">
  <Bemerkung>sample string 9</Bemerkung>
  <Bezeichnung>sample string 5</Bezeichnung>
  <Id>1</Id>
  <Kategorie>7</Kategorie>
  <Nummer>3</Nummer>
  <NummerVerband>4</NummerVerband>
  <OrganisationId>2</OrganisationId>
  <RowGuid>724f4df8-a3c5-44f9-9a96-644385740d8c</RowGuid>
  <Sichtbar>true</Sichtbar>
</BstFachverband>