All Products
Search
Document Center

:QuerySingleReport

Last Updated:Mar 01, 2024

Queries a single table report. More report types may be supported.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /v2/openapi/instances/{instanceId}/sync-reports/single-report

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The ID of the instance.

airec-cn-o400whm78004
reportTypestringYes

The type of the single table report. This parameter is required.

Valid values: typeItemValidScene,

typeItemTag,

typeItemTagScene,

typeItemWeightScene,

typeItemRawScene, and

typeItemExpireScene

typeItemTagScene

Response parameters

ParameterTypeDescriptionExample
object
resultobject

The returned result.

xxx
codestring

The error code.

InternalServerError
requestIdstring

The ID of the request.

8F81A922-6C81-46D6-B78C-CC35E16B1691
messagestring

The error message.

An internal server error occurred

Examples

Sample success responses

JSONformat

{
  "result": {
    "test": "test",
    "test2": 1
  },
  "code": "InternalServerError",
  "requestId": "8F81A922-6C81-46D6-B78C-CC35E16B1691",
  "message": "An internal server error occurred"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history