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

KrnSportart2Fachverband
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

SportartId

integer

Required

FachverbandId

integer

Required

Bemerkung

string

None.

Sichtbar

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "08778b21-da78-46fb-b738-f7b93c3d51a1",
  "SportartId": 3,
  "FachverbandId": 4,
  "Bemerkung": "sample string 5",
  "Sichtbar": true
}

application/xml, text/xml

Sample:
<KrnSportart2Fachverband xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Krn.Models">
  <Bemerkung>sample string 5</Bemerkung>
  <FachverbandId>4</FachverbandId>
  <Id>1</Id>
  <RowGuid>08778b21-da78-46fb-b738-f7b93c3d51a1</RowGuid>
  <Sichtbar>true</Sichtbar>
  <SportartId>3</SportartId>
</KrnSportart2Fachverband>