POST api/bstrechnungsposition/keyvalue

Request Information

URI Parameters

None.

Body Parameters

BstRechnungspositionSelect
NameDescriptionTypeAdditional information
Id

integer

None.

RechnungId

integer

None.

Position

integer

None.

Artikel

string

None.

Bemerkung

string

None.

PageSize

integer

Required

PageIndex

integer

Required

SortField

string

None.

SortFieldDefault

string

None.

Quicksearch

string

None.

filterIsSet

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RechnungId": 1,
  "Position": 1,
  "Artikel": "sample string 1",
  "Bemerkung": "sample string 2",
  "PageSize": 3,
  "PageIndex": 4,
  "SortField": "sample string 5",
  "SortFieldDefault": "sample string 6",
  "Quicksearch": "sample string 7",
  "filterIsSet": true
}

application/xml, text/xml

Sample:
<BstRechnungspositionSelect xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Bst.Models">
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">4</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">3</PageSize>
  <Quicksearch xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 7</Quicksearch>
  <SortField xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 5</SortField>
  <SortFieldDefault xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 6</SortFieldDefault>
  <filterIsSet xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">true</filterIsSet>
  <Artikel>sample string 1</Artikel>
  <Bemerkung>sample string 2</Bemerkung>
  <Id>1</Id>
  <Position>1</Position>
  <RechnungId>1</RechnungId>
</BstRechnungspositionSelect>

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 'BstRechnungspositionSelect'.

Response Information

Resource Description

Collection of KeyValue
NameDescriptionTypeAdditional information
Id

integer

Required

Value

string

None.

Response 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>