POST api/Monitoring/GetLogs

Request Information

URI Parameters

None.

Body Parameters

MonitoringLogFilter
NameDescriptionTypeAdditional information
Page

integer

None.

PageSize

integer

None.

FromDate

date

None.

ToDate

date

None.

LogType

string

None.

UserId

globally unique identifier

None.

Controller

string

None.

MinResponseTime

integer

None.

StatusCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Page": 1,
  "PageSize": 2,
  "FromDate": "2026-04-14T21:46:53.0565201+07:00",
  "ToDate": "2026-04-14T21:46:53.0565201+07:00",
  "LogType": "sample string 3",
  "UserId": "73d151b0-44d4-491c-9d51-59f666d6740a",
  "Controller": "sample string 4",
  "MinResponseTime": 1,
  "StatusCode": 1
}

application/xml, text/xml

Sample:
<MonitoringLogFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <Controller>sample string 4</Controller>
  <FromDate>2026-04-14T21:46:53.0565201+07:00</FromDate>
  <LogType>sample string 3</LogType>
  <MinResponseTime>1</MinResponseTime>
  <Page>1</Page>
  <PageSize>2</PageSize>
  <StatusCode>1</StatusCode>
  <ToDate>2026-04-14T21:46:53.0565201+07:00</ToDate>
  <UserId>73d151b0-44d4-491c-9d51-59f666d6740a</UserId>
</MonitoringLogFilter>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.