POST api/apphistory/validate
Request Information
URI Parameters
None.
Body Parameters
AppHistoryValidate| Name | Description | Type | Additional information |
|---|---|---|---|
| Reason | integer |
Required |
|
| Rec | AppHistory |
None. |
|
| 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. |
Request Formats
application/json, text/json
Sample:
{
"Reason": 1,
"Rec": {
"Id": 1,
"ElementId": "4ef06f85-52f3-4fed-ac31-135585c9d1c3",
"Aenderungstyp": 3,
"Zeitpunkt": "2025-10-25T20:51:57.5616894+02:00",
"Benutzer": "sample string 5",
"Bemerkung": "sample string 6",
"Tabelle": "sample string 7",
"AlterWert": "sample string 8",
"Aenderungsbefehl": "sample string 9"
},
"Id": 2,
"ElementId": "fa158857-a8d9-4390-b224-4171c2613044",
"Aenderungstyp": 4,
"Zeitpunkt": "2025-10-25T20:51:57.5626899+02:00",
"Benutzer": "sample string 6",
"Bemerkung": "sample string 7",
"Tabelle": "sample string 8",
"AlterWert": "sample string 9",
"Aenderungsbefehl": "sample string 10"
}
application/xml, text/xml
Sample:
<AppHistoryValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
<Aenderungsbefehl>sample string 10</Aenderungsbefehl>
<Aenderungstyp>4</Aenderungstyp>
<AlterWert>sample string 9</AlterWert>
<Bemerkung>sample string 7</Bemerkung>
<Benutzer>sample string 6</Benutzer>
<ElementId>fa158857-a8d9-4390-b224-4171c2613044</ElementId>
<Id>2</Id>
<Tabelle>sample string 8</Tabelle>
<Zeitpunkt>2025-10-25T20:51:57.5626899+02:00</Zeitpunkt>
<Reason>1</Reason>
<Rec>
<Aenderungsbefehl>sample string 9</Aenderungsbefehl>
<Aenderungstyp>3</Aenderungstyp>
<AlterWert>sample string 8</AlterWert>
<Bemerkung>sample string 6</Bemerkung>
<Benutzer>sample string 5</Benutzer>
<ElementId>4ef06f85-52f3-4fed-ac31-135585c9d1c3</ElementId>
<Id>1</Id>
<Tabelle>sample string 7</Tabelle>
<Zeitpunkt>2025-10-25T20:51:57.5616894+02:00</Zeitpunkt>
</Rec>
</AppHistoryValidate>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ValidationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorMsg | string |
None. |
|
| HintMsg | string |
None. |
|
| ErrorFieldNames | Collection of string |
None. |
|
| FieldName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorMsg": "sample string 1",
"HintMsg": "sample string 2",
"ErrorFieldNames": [
"sample string 1",
"sample string 2"
],
"FieldName": "sample string 3"
}
application/xml, text/xml
Sample:
<ValidationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
<ErrorFieldNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorFieldNames>
<ErrorMsg>sample string 1</ErrorMsg>
<FieldName>sample string 3</FieldName>
<HintMsg>sample string 2</HintMsg>
</ValidationResult>