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

SazWettbewerbPreis
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

WettbewerbArtId

integer

Required

ArtikelId

integer

Required

RangVon

integer

Required

RangBis

integer

Required

Preisart

integer

Required

Bezeichnung

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "ff895f5f-ea6a-48de-825a-5be123135712",
  "WettbewerbArtId": 3,
  "ArtikelId": 4,
  "RangVon": 5,
  "RangBis": 6,
  "Preisart": 7,
  "Bezeichnung": "sample string 8"
}

application/xml, text/xml

Sample:
<SazWettbewerbPreis xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Saz.Models">
  <ArtikelId>4</ArtikelId>
  <Bezeichnung>sample string 8</Bezeichnung>
  <Id>1</Id>
  <Preisart>7</Preisart>
  <RangBis>6</RangBis>
  <RangVon>5</RangVon>
  <RowGuid>ff895f5f-ea6a-48de-825a-5be123135712</RowGuid>
  <WettbewerbArtId>3</WettbewerbArtId>
</SazWettbewerbPreis>