Get Unresolved Messages


Get the list of unresolved messages that are reported for the application.

Prerequisites


The OU has obtained the application, or the application is a self-built application in the OU.

Request Format


POST https://{apigw-address}/app-portal-service/v2.2/message/unresolved/list

Request Parameters (Body)


Name

Required/Optional

Data Type

Description

accessKey

Required

String

The application’s accessKey, used for authentication to obtain the data that the application is authorized to access. How to obtain accessKey information >>

orgId

Required

String

The OU ID. How to get orgId >>

pagination

Optional

Pagination Request Struct

Lists the paging requirements in a request. If not specified, the default pagination size is 1000 pages, starting from 0. Pagination Request Struct >>

Response Parameters


Name

Data Type

Description

pagination

Pagination Struct

The pagination information. Pagination Struct >>

ids

Array

The list of message IDs.

Pagination Struct


Name

Data Type

Description

pageNo

Integer

The request pages.

pageSize

Integer

The number of records in each page.

totalElements

Long

The total number of records.

Error Codes


Code

Description

31400

Application or OU ID is required

31404

The application or organization does not exist, or the application is not acquired

Samples

Request Sample


url: https://{apigw-address}/app-portal-service/v2.2/message/unresolved/list

method: POST

requestBody:
{
  "accessKey":"your_access_key",
  "orgId":"your_org_id",
  "pagination":{
    "pageNo":0,
    "pageSize":1000
  }
}

Return Sample


{
    "code": 0,
    "message": "OK",
    "data": {
        "pagination": {
            "totalElements": 15094,
            "PageNo": 0,
            "PageSize": 1000
        },
        "ids": [
            "cjj-1",
            "cjj01",
            "cjj010",
            "cjj011",
            "cjj012",
            "..."
        ]
    }
}