POST api/Stats/UserLastActivityStatsData

Request Information

URI Parameters

None.

Body Parameters

StatsRequest
NameDescriptionTypeAdditional information
ScopeId

integer

None.

DateStart

date

None.

DateEnd

date

None.

Mode

StatsMode

None.

DataFormat

StatsDataFormat

None.

Options

Dictionary of string [key] and string [value]

None.

ApplyAppearance

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ScopeId": 1,
  "DateStart": "2021-03-08T17:14:24.0974746+01:00",
  "DateEnd": "2021-03-08T17:14:24.0974746+01:00",
  "Mode": "DayDetail",
  "DataFormat": "CSV",
  "Options": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "ApplyAppearance": true
}

Response Information

Resource Description

Collection of DateScopeCountInfo_Result
NameDescriptionTypeAdditional information
Date

date

None.

ScopeId

integer

None.

Count

integer

None.

Info

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Date": "2021-03-08T17:14:24.0974746+01:00",
    "ScopeId": 1,
    "Count": 1,
    "Info": "sample string 1"
  },
  {
    "Date": "2021-03-08T17:14:24.0974746+01:00",
    "ScopeId": 1,
    "Count": 1,
    "Info": "sample string 1"
  }
]

text/csv

Sample:
"sep=,"
Items,Success,DestElement,SourceElement,RowNumber,Logo,Pictures,Date,ScopeId,Count,Info
,,,,,,,,,,
System.Collections.Generic.List`1[ASTLib.Types.Common.MergeResultItem],True,,,,,,,,,
,,,,1,System.Object[],System.Object[],,,,
,,,,,,,2021-03-08 16:55:48,1,1,sample string 1
,,,,,,,2021-03-08 16:55:48,1,1,sample string 1
,,,,,,,2021-03-08 17:14:24,1,1,sample string 1
,,,,,,,2021-03-08 17:14:24,1,1,sample string 1