POST api/verrechnungsposition/preparenew
Request Information
URI Parameters
None.
Body Parameters
Collection of KeyValue| Name | Description | Type | Additional 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:
Response Information
Resource Description
VerRechnungsposition| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RechnungId | integer |
Required |
|
| TeilnehmerId | integer |
Required |
|
| Position | integer |
Required |
|
| Artikel | string |
None. |
|
| Menge | decimal number |
Required |
|
| Einzelpreis | decimal number |
Required |
|
| Gesamtpreis | decimal number |
Required |
|
| Bemerkung | string |
None. |
|
| Storniert | boolean |
Required |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"RechnungId": 2,
"TeilnehmerId": 3,
"Position": 4,
"Artikel": "sample string 5",
"Menge": 6.0,
"Einzelpreis": 7.0,
"Gesamtpreis": 8.0,
"Bemerkung": "sample string 9",
"Storniert": true
}
application/xml, text/xml
Sample:
<VerRechnungsposition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Ver.Models"> <Artikel>sample string 5</Artikel> <Bemerkung>sample string 9</Bemerkung> <Einzelpreis>7</Einzelpreis> <Gesamtpreis>8</Gesamtpreis> <Id>1</Id> <Menge>6</Menge> <Position>4</Position> <RechnungId>2</RechnungId> <Storniert>true</Storniert> <TeilnehmerId>3</TeilnehmerId> </VerRechnungsposition>