POST api/DashboardUsageLog/LogDetails

Request Information

URI Parameters

None.

Body Parameters

DashboardUsageRequest
NameDescriptionTypeAdditional information
UserId

string

None.

Dashboard

string

None.

AccessedAt

date

None.

EndedAt

date

None.

TotalDuration

decimal number

None.

TotalSize

integer

None.

LogDetails

Collection of LogDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "Dashboard": "sample string 2",
  "AccessedAt": "2026-04-17T12:59:56.44516+00:00",
  "EndedAt": "2026-04-17T12:59:56.44516+00:00",
  "TotalDuration": 5.1,
  "TotalSize": 6,
  "LogDetails": [
    {
      "Url": "sample string 1",
      "Type": "sample string 2",
      "Duration": 3.1,
      "Size": 4,
      "Timestamp": 5
    },
    {
      "Url": "sample string 1",
      "Type": "sample string 2",
      "Duration": 3.1,
      "Size": 4,
      "Timestamp": 5
    }
  ]
}

application/xml, text/xml

Sample:
<DashboardUsageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSI.Cx360.WebAPI.Controllers">
  <AccessedAt>2026-04-17T12:59:56.44516+00:00</AccessedAt>
  <Dashboard>sample string 2</Dashboard>
  <EndedAt>2026-04-17T12:59:56.44516+00:00</EndedAt>
  <LogDetails>
    <LogDetail>
      <Duration>3.1</Duration>
      <Size>4</Size>
      <Timestamp>5</Timestamp>
      <Type>sample string 2</Type>
      <Url>sample string 1</Url>
    </LogDetail>
    <LogDetail>
      <Duration>3.1</Duration>
      <Size>4</Size>
      <Timestamp>5</Timestamp>
      <Type>sample string 2</Type>
      <Url>sample string 1</Url>
    </LogDetail>
  </LogDetails>
  <TotalDuration>5.1</TotalDuration>
  <TotalSize>6</TotalSize>
  <UserId>sample string 1</UserId>
</DashboardUsageRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.