POST api/appeventlog/insert

Request Information

URI Parameters

None.

Body Parameters

AppEventLog
NameDescriptionTypeAdditional information
Id

integer

Required

EventSource

string

None.

EventType

integer

Required

EventTime

date

Required

Message

string

None.

Username

string

None.

EventId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EventSource": "sample string 2",
  "EventType": 3,
  "EventTime": "2025-10-25T23:08:01.3393949+02:00",
  "Message": "sample string 5",
  "Username": "sample string 6",
  "EventId": 1
}

application/xml, text/xml

Sample:
<AppEventLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <EventId>1</EventId>
  <EventSource>sample string 2</EventSource>
  <EventTime>2025-10-25T23:08:01.3393949+02:00</EventTime>
  <EventType>3</EventType>
  <Id>1</Id>
  <Message>sample string 5</Message>
  <Username>sample string 6</Username>
</AppEventLog>

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

Response Information

Resource Description

AppEventLogDisplay
NameDescriptionTypeAdditional information
EventTypeDisplay

string

None.

Id

integer

Required

EventSource

string

None.

EventType

integer

Required

EventTime

date

Required

Message

string

None.

Username

string

None.

EventId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "EventTypeDisplay": "sample string 1",
  "Id": 2,
  "EventSource": "sample string 3",
  "EventType": 4,
  "EventTime": "2025-10-25T23:08:01.3393949+02:00",
  "Message": "sample string 6",
  "Username": "sample string 7",
  "EventId": 1
}

application/xml, text/xml

Sample:
<AppEventLogDisplay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <EventId>1</EventId>
  <EventSource>sample string 3</EventSource>
  <EventTime>2025-10-25T23:08:01.3393949+02:00</EventTime>
  <EventType>4</EventType>
  <Id>2</Id>
  <Message>sample string 6</Message>
  <Username>sample string 7</Username>
  <EventTypeDisplay>sample string 1</EventTypeDisplay>
</AppEventLogDisplay>