POST api/aborechnungsposition/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
AboRechnungsposition| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RechnungId | integer |
Required |
|
| EmpfaengerId | integer |
Required |
|
| ExemplarId | integer |
None. |
|
| Position | integer |
Required |
|
| Artikel | string |
None. |
|
| Menge | decimal number |
Required |
|
| Einzelpreis | decimal number |
Required |
|
| Gesamtpreis | decimal number |
Required |
|
| Bemerkung | string |
None. |
|
| Storniert | boolean |
Required |
|
| RowGuid | globally unique identifier |
Required |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"RechnungId": 2,
"EmpfaengerId": 3,
"ExemplarId": 1,
"Position": 4,
"Artikel": "sample string 5",
"Menge": 6.0,
"Einzelpreis": 7.0,
"Gesamtpreis": 8.0,
"Bemerkung": "sample string 9",
"Storniert": true,
"RowGuid": "3b48254c-21dd-43ef-9bef-ae4d7b417885"
}
application/xml, text/xml
Sample:
<AboRechnungsposition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Abo.Models"> <Artikel>sample string 5</Artikel> <Bemerkung>sample string 9</Bemerkung> <Einzelpreis>7</Einzelpreis> <EmpfaengerId>3</EmpfaengerId> <ExemplarId>1</ExemplarId> <Gesamtpreis>8</Gesamtpreis> <Id>1</Id> <Menge>6</Menge> <Position>4</Position> <RechnungId>2</RechnungId> <RowGuid>3b48254c-21dd-43ef-9bef-ae4d7b417885</RowGuid> <Storniert>true</Storniert> </AboRechnungsposition>