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

VerGebuehr
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

Bezeichnung

string

None.

MandantReWe

integer

Required

Artikel

string

None.

Kategorie

integer

Required

Sichtbar

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "fdf16375-7e2d-43a5-aebb-453533854278",
  "Bezeichnung": "sample string 3",
  "MandantReWe": 4,
  "Artikel": "sample string 5",
  "Kategorie": 6,
  "Sichtbar": true
}

application/xml, text/xml

Sample:
<VerGebuehr 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>
  <Bezeichnung>sample string 3</Bezeichnung>
  <Id>1</Id>
  <Kategorie>6</Kategorie>
  <MandantReWe>4</MandantReWe>
  <RowGuid>fdf16375-7e2d-43a5-aebb-453533854278</RowGuid>
  <Sichtbar>true</Sichtbar>
</VerGebuehr>