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": "970b8f17-c93f-4fdf-845a-6c945a8cd121",
"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-11-08T13:39:43.7551221+01:00",
"AllXml": "sample string 12"
},
"Id": 2,
"ErrorGuid": "9f0b3b01-92f8-4c14-9141-fe5e0f49c08f",
"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-11-08T13:39:43.7551221+01: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>9f0b3b01-92f8-4c14-9141-fe5e0f49c08f</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-11-08T13:39:43.7551221+01: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>970b8f17-c93f-4fdf-845a-6c945a8cd121</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-11-08T13:39:43.7551221+01: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>