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

SazLeistung
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

AnforderungId

integer

Required

AbnahmeId

integer

Required

LizenzId

integer

Required

Wert

decimal number

Required

Abnahme

date

Required

Ergebnis

integer

Required

Relevant

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "d3c025f1-c8e8-4ae4-85ec-a54ad2c57288",
  "AnforderungId": 3,
  "AbnahmeId": 4,
  "LizenzId": 5,
  "Wert": 6.0,
  "Abnahme": "2025-10-25T23:47:57.7918415+02:00",
  "Ergebnis": 8,
  "Relevant": true
}

application/xml, text/xml

Sample:
<SazLeistung xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Saz.Models">
  <Abnahme>2025-10-25T23:47:57.7918415+02:00</Abnahme>
  <AbnahmeId>4</AbnahmeId>
  <AnforderungId>3</AnforderungId>
  <Ergebnis>8</Ergebnis>
  <Id>1</Id>
  <LizenzId>5</LizenzId>
  <Relevant>true</Relevant>
  <RowGuid>d3c025f1-c8e8-4ae4-85ec-a54ad2c57288</RowGuid>
  <Wert>6</Wert>
</SazLeistung>