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

AboRechnung
NameDescriptionTypeAdditional information
Id

integer

Required

RechnungslaufId

integer

Required

AbonnementId

integer

Required

Betrag

decimal number

Required

Bemerkung

string

None.

Storniert

boolean

Required

RowGuid

globally unique identifier

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RechnungslaufId": 2,
  "AbonnementId": 3,
  "Betrag": 4.0,
  "Bemerkung": "sample string 5",
  "Storniert": true,
  "RowGuid": "5b5a32c1-4bda-4e8c-ad56-5fd97485ef17"
}

application/xml, text/xml

Sample:
<AboRechnung xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Abo.Models">
  <AbonnementId>3</AbonnementId>
  <Bemerkung>sample string 5</Bemerkung>
  <Betrag>4</Betrag>
  <Id>1</Id>
  <RechnungslaufId>2</RechnungslaufId>
  <RowGuid>5b5a32c1-4bda-4e8c-ad56-5fd97485ef17</RowGuid>
  <Storniert>true</Storniert>
</AboRechnung>