POST api/apperrorlog/keyvalue

Request Information

URI Parameters

None.

Body Parameters

AppErrorLogSelect
NameDescriptionTypeAdditional information
Id

integer

None.

ApplicationName

string

None.

Host

string

None.

Type

string

None.

Source

string

None.

Message

string

None.

StackTrace

string

None.

Username

string

None.

StatusCode

integer

None.

TimestampFrom

date

None.

TimestampTo

date

None.

AllXml

string

None.

PageSize

integer

Required

PageIndex

integer

Required

SortField

string

None.

SortFieldDefault

string

None.

Quicksearch

string

None.

filterIsSet

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ApplicationName": "sample string 1",
  "Host": "sample string 2",
  "Type": "sample string 3",
  "Source": "sample string 4",
  "Message": "sample string 5",
  "StackTrace": "sample string 6",
  "Username": "sample string 7",
  "StatusCode": 1,
  "TimestampFrom": "2025-10-25T23:08:37.7983314+02:00",
  "TimestampTo": "2025-10-25T23:08:37.7983314+02:00",
  "AllXml": "sample string 8",
  "PageSize": 9,
  "PageIndex": 10,
  "SortField": "sample string 11",
  "SortFieldDefault": "sample string 12",
  "Quicksearch": "sample string 13",
  "filterIsSet": true
}

application/xml, text/xml

Sample:
<AppErrorLogSelect xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <PageIndex>10</PageIndex>
  <PageSize>9</PageSize>
  <Quicksearch>sample string 13</Quicksearch>
  <SortField>sample string 11</SortField>
  <SortFieldDefault>sample string 12</SortFieldDefault>
  <filterIsSet>true</filterIsSet>
  <AllXml>sample string 8</AllXml>
  <ApplicationName>sample string 1</ApplicationName>
  <Host>sample string 2</Host>
  <Id>1</Id>
  <Message>sample string 5</Message>
  <Source>sample string 4</Source>
  <StackTrace>sample string 6</StackTrace>
  <StatusCode>1</StatusCode>
  <TimestampFrom>2025-10-25T23:08:37.7983314+02:00</TimestampFrom>
  <TimestampTo>2025-10-25T23:08:37.7983314+02:00</TimestampTo>
  <Type>sample string 3</Type>
  <Username>sample string 7</Username>
</AppErrorLogSelect>

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

Response Information

Resource Description

Collection of KeyValue
NameDescriptionTypeAdditional information
Id

integer

Required

Value

string

None.

Response 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>