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

KsvZuschuss
NameDescriptionTypeAdditional information
Id

integer

Required

KooperationsjahrId

integer

Required

StundenVon

integer

Required

StundenBis

integer

None.

Sonderschule

boolean

Required

Deputat

boolean

Required

Artikel

string

None.

Kooperationstyp

integer

Required

RowGuid

globally unique identifier

Required

VklVaboKlasse

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "KooperationsjahrId": 2,
  "StundenVon": 3,
  "StundenBis": 1,
  "Sonderschule": true,
  "Deputat": true,
  "Artikel": "sample string 6",
  "Kooperationstyp": 7,
  "RowGuid": "ae902b4f-0683-45a8-b41f-9d00ff3bed65",
  "VklVaboKlasse": true
}

application/xml, text/xml

Sample:
<KsvZuschuss xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ksv.Models">
  <Artikel>sample string 6</Artikel>
  <Deputat>true</Deputat>
  <Id>1</Id>
  <KooperationsjahrId>2</KooperationsjahrId>
  <Kooperationstyp>7</Kooperationstyp>
  <RowGuid>ae902b4f-0683-45a8-b41f-9d00ff3bed65</RowGuid>
  <Sonderschule>true</Sonderschule>
  <StundenBis>1</StundenBis>
  <StundenVon>3</StundenVon>
  <VklVaboKlasse>true</VklVaboKlasse>
</KsvZuschuss>