All Products
Search
Document Center

QuerySyncReportAggregation

Last Updated: Jan 15, 2021

QuerySyncReportAggregation

Description

Queries the data overview.

Method

GET

URI

/openapi/instances/{instanceId}/sync-reports/aggregation

Request parameters

Parameter

Type

Description

Remarks

startTime

Long

The beginning of the time range to query.

Timestamp, accurate to the second

endTime

Long

The end of the time range to query.

Timestamp, accurate to the second

Response parameters

Parameter

Type

Description

RequestId

String

The ID of the request.

Result

Map

The result that is returned.

Sample requests

GET /openapi/instances/airec-cn-xxxxx/sync-reports/aggregation?startTime=1566489600&endTime=1566576000

Sample responses

{
   "RequestId": "16B78383-2803-4964-9605-37B30C073B0E",
   "Result": {
      "Level": "normal",
      "StartTime": "1566489600",
      "EndTime": "1566658800",
      "Detail": [
        {
          "Level": "normal",
          "TotalCount": null,
          "Type": "behavior",
          "ErrorCount": null,
          "ErrorPercent": null,
        },
        {
          "Level": "normal",
          "TotalCount": null,
          "Type": "item",
          "ErrorCount": null,
          "ErrorPercent": null
        },
        {
          "Level": "normal",
          "TotalCount": null,
          "Type": "user",
          "ErrorCount": null,
          "ErrorPercent": null
        }
      ]

    }
}