POST api/Eventlogs

Request Information

URI Parameters

None.

Body Parameters

EventLog
NameDescriptionTypeAdditional information
Id

integer

None.

EventTypeId

integer

None.

EventComponentId

integer

None.

OrganisationId

integer

None.

Dbtime

date

None.

Dbuser

string

None.

Description

string

None.

Detail

string

None.

EventComponent

EventComponent

None.

EventType

EventType

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EventTypeId": 1,
  "EventComponentId": 1,
  "OrganisationId": 1,
  "Dbtime": "2026-01-13T01:25:22.454016+00:00",
  "Dbuser": "sample string 2",
  "Description": "sample string 3",
  "Detail": "sample string 4",
  "EventComponent": {
    "Id": 1,
    "ApplicationId": 1,
    "Component": "sample string 2",
    "Application": {
      "Id": 1,
      "ApplicationName": "sample string 2"
    }
  },
  "EventType": {
    "Id": 1,
    "Type": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<EventLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOMDM.WebApi.Models">
  <Dbtime>2026-01-13T01:25:22.454016+00:00</Dbtime>
  <Dbuser>sample string 2</Dbuser>
  <Description>sample string 3</Description>
  <Detail>sample string 4</Detail>
  <EventComponent>
    <Application>
      <ApplicationName>sample string 2</ApplicationName>
      <Id>1</Id>
    </Application>
    <ApplicationId>1</ApplicationId>
    <Component>sample string 2</Component>
    <Id>1</Id>
  </EventComponent>
  <EventComponentId>1</EventComponentId>
  <EventType>
    <Id>1</Id>
    <Type>sample string 2</Type>
  </EventType>
  <EventTypeId>1</EventTypeId>
  <Id>1</Id>
  <OrganisationId>1</OrganisationId>
</EventLog>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.