All Products
Search
Document Center

QueryDataMessageStatistics

Last Updated: Jan 15, 2021

QueryDataMessageStatistics

Queries update message statistics in a specified data table of a specified instance.

Description

Queries update message statistics in a specified data table of a specified instance.

Method

GET

URI

/openapi/instances/{instanceId}/tables/{table}/data-message-statistics table indicates the name of a table. Valid values: item, user, and behavior.

Request parameters

Parameter

Type

Required

Description

startTime

Long

Yes

The start time. The value must be accurate to the second.

endTime

Long

Yes

The end time. The value must be accurate to the second.

itemId

String

No

itemType

String

No

userId

String

No

userType

String

No

cmdType

String

No

The type of the command. Valid values: update, delete, and add.

traceId

String

No

sceneId

String

No

bhvType

String

No

Valid values: expose, click, like, comment, collect, stay, cart, buy, and evaluate.

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/tables/item/data-message-statistics?startTime=xxx&endTime=xxx&itemType=item&itemId=12345

Sample responses

JSON format

{
  "RequestId": "16B78383-2803-4964-9605-37B30C073B0E",
  "Result": 
     [
      {
        "UploadTimestamp": "123456",
        "Number": "100"
      },
      {
        "UploadTimestamp": "123456",
        "Number": "100"
      }
    ]
}