POST api/apperrorlog/preparenew
Request Information
URI Parameters
None.
Body Parameters
Collection of KeyValue| Name | Description | Type | Additional 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:
Response Information
Resource Description
AppErrorLog| Name | Description | Type | Additional information |
|---|---|---|---|
| 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. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"ErrorGuid": "85383bee-2c41-42de-b82e-3d4c58f7133d",
"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-25T21:00:38.6226695+02:00",
"AllXml": "sample string 12"
}
application/xml, text/xml
Sample:
<AppErrorLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models"> <AllXml>sample string 12</AllXml> <ApplicationName>sample string 3</ApplicationName> <ErrorGuid>85383bee-2c41-42de-b82e-3d4c58f7133d</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-25T21:00:38.6226695+02:00</Timestamp> <Type>sample string 5</Type> <Username>sample string 9</Username> </AppErrorLog>