POST api/apperrorlog/insert

Request Information

URI Parameters

None.

Body Parameters

AppErrorLog
NameDescriptionTypeAdditional 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.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ErrorGuid": "c96e90e0-385c-4792-b392-3eacbbb441f1",
  "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:35.7028358+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>c96e90e0-385c-4792-b392-3eacbbb441f1</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:35.7028358+02:00</Timestamp>
  <Type>sample string 5</Type>
  <Username>sample string 9</Username>
</AppErrorLog>

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 'AppErrorLog'.

Response Information

Resource Description

AppErrorLogDisplay
NameDescriptionTypeAdditional 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": "9d7a2c71-48b3-4c20-9af0-27ff9ef19694",
  "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:35.7038357+02:00",
  "AllXml": "sample string 12"
}

application/xml, text/xml

Sample:
<AppErrorLogDisplay 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>9d7a2c71-48b3-4c20-9af0-27ff9ef19694</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:35.7038357+02:00</Timestamp>
  <Type>sample string 5</Type>
  <Username>sample string 9</Username>
</AppErrorLogDisplay>