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

AppHistory
NameDescriptionTypeAdditional information
Id

integer

Required

ElementId

globally unique identifier

Required

Aenderungstyp

integer

Required

Zeitpunkt

date

Required

Benutzer

string

None.

Bemerkung

string

None.

Tabelle

string

None.

AlterWert

string

None.

Aenderungsbefehl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ElementId": "0b03dfac-7a57-44a6-917d-df6cb34cfcba",
  "Aenderungstyp": 3,
  "Zeitpunkt": "2025-10-25T23:13:41.2435846+02:00",
  "Benutzer": "sample string 5",
  "Bemerkung": "sample string 6",
  "Tabelle": "sample string 7",
  "AlterWert": "sample string 8",
  "Aenderungsbefehl": "sample string 9"
}

application/xml, text/xml

Sample:
<AppHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <Aenderungsbefehl>sample string 9</Aenderungsbefehl>
  <Aenderungstyp>3</Aenderungstyp>
  <AlterWert>sample string 8</AlterWert>
  <Bemerkung>sample string 6</Bemerkung>
  <Benutzer>sample string 5</Benutzer>
  <ElementId>0b03dfac-7a57-44a6-917d-df6cb34cfcba</ElementId>
  <Id>1</Id>
  <Tabelle>sample string 7</Tabelle>
  <Zeitpunkt>2025-10-25T23:13:41.2435846+02:00</Zeitpunkt>
</AppHistory>