POST api/apperrorlog/validate
Request Information
URI Parameters
None.
Body Parameters
AppErrorLogValidate| Name | Description | Type | Additional information |
|---|---|---|---|
| Reason | integer |
Required |
|
| Rec | AppErrorLog |
None. |
|
| Id | integer |
Required |
|
| ErrorGuid | globally unique identifier |
Required |
|
| ApplicationName | string |
None. |
|
| Host | string |
None. |
|
| Type | string |
None. |
|
| Source | string |
None. |
|
| Message | string |
None. |
|
| StackTrace | string |
None. |
|
| Username | string |
None. |
|
| StatusCode | integer |
Required |
|
| Timestamp | date |
Required |
|
| AllXml | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Reason": 1,
"Rec": {
"Id": 1,
"ErrorGuid": "805f9bb6-361e-405b-ad15-fd5401b4c003",
"ApplicationName": "sample string 3",
"Host": "sample string 4",
"Type": "sample string 5",
"Source": "sample string 6",
"Message": "sample string 7",
"StackTrace": "sample string 8",
"Username": "sample string 9",
"StatusCode": 10,
"Timestamp": "2025-10-25T23:08:36.5238886+02:00",
"AllXml": "sample string 12"
},
"Id": 2,
"ErrorGuid": "3d3fe0f9-824d-4dbd-a67b-181d35a0e880",
"ApplicationName": "sample string 4",
"Host": "sample string 5",
"Type": "sample string 6",
"Source": "sample string 7",
"Message": "sample string 8",
"StackTrace": "sample string 9",
"Username": "sample string 10",
"StatusCode": 11,
"Timestamp": "2025-10-25T23:08:36.5238886+02:00",
"AllXml": "sample string 13"
}
application/xml, text/xml
Sample:
<AppErrorLogValidate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
<AllXml>sample string 13</AllXml>
<ApplicationName>sample string 4</ApplicationName>
<ErrorGuid>3d3fe0f9-824d-4dbd-a67b-181d35a0e880</ErrorGuid>
<Host>sample string 5</Host>
<Id>2</Id>
<Message>sample string 8</Message>
<Source>sample string 7</Source>
<StackTrace>sample string 9</StackTrace>
<StatusCode>11</StatusCode>
<Timestamp>2025-10-25T23:08:36.5238886+02:00</Timestamp>
<Type>sample string 6</Type>
<Username>sample string 10</Username>
<Reason>1</Reason>
<Rec>
<AllXml>sample string 12</AllXml>
<ApplicationName>sample string 3</ApplicationName>
<ErrorGuid>805f9bb6-361e-405b-ad15-fd5401b4c003</ErrorGuid>
<Host>sample string 4</Host>
<Id>1</Id>
<Message>sample string 7</Message>
<Source>sample string 6</Source>
<StackTrace>sample string 8</StackTrace>
<StatusCode>10</StatusCode>
<Timestamp>2025-10-25T23:08:36.5238886+02:00</Timestamp>
<Type>sample string 5</Type>
<Username>sample string 9</Username>
</Rec>
</AppErrorLogValidate>
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>