URI

<apps_uri>/checkinfos[.<format>]

Supported methods

GET,HEAD

Parent resource

apps

Introduction

The appsCheckInfos resource is used to query application review records in the list.

Supported methods:

  • GET:Retrieves application review records in the application list.
  • HEAD:Checks whether the appsCheckInfos resource exists, or whether the permission can access the appsCheckInfos resource.

Supported output formats:RJSON,JSON,HTML,XML.

Resource hierarchy

HTTP request methods

Perform an HTTP request on the following URI, using rjson output format as an example, where supermapiportal is the server name.

http://supermapiportal:8190/iportal/web/apps/checkinfos.rjson

GET request

Retrieves application review records in the current application list.

Request parameters

If no parameters are set, the first page of application review records that the user has permission to view is returned. After setting parameters, the specified application review records are returned. Request parameters must be included in the URI.

Name Type Description
appIds Integer[] Specifies the application IDs to query.
checkStatus CheckStatus Filters by application review status.
orderBy AppOrderBy Filters by sort type.
orderType OrderType Filters by ascending or descending order.
keywords String[] Queries by keywords.
currentPage int Filters by page number.
pageSize int Filters by page size.

Response structure

Performing a GET request on the appsCheckInfos resource returns application review records that the current user has permission to view. It consists of the following fields:

Field Type Description
content List<CheckInfoContent> Application review records.
currentPage int The current page number.
pageSize int The page size.
searchParameter SearchParameter The search parameters for the current page.
total int The total number of records.
totalPage int The total number of pages.

Response example

Performing a GET request on the appsCheckInfos resource: http://localhost:8190/iportal/web/apps/checkinfos.rjson. The rjson format resource representation is as follows:

{

    "total": 2,

    "totalPage": 1,

    "pageSize": 9,

    "searchParameter": {

        "orderType": "ASC",

        "serviceIds": null,

        "appIds": null,

        "keywords": null,

        "mapIds": null,

        "orderBy": null,

        "pageSize": 9,

        "departmentIds": null,

        "currentPage": 1,

        "checkStatuses": null,

        "objectType": "APP"

    },

    "currentPage": 1,

    "content": [

        {

            "checkUserNick": "admin",

            "checkUser": "admin",

            "checkStatus": "SUCCESSFUL",

            "checkTime": 1608692817057,

            "createTime": 1608692202987,

            "departmentId": null,

            "verifyReason": "",

            "id": 1,

            "objectInfo": {

                "thumbnail": "",

                "address": "",

                "contactInfo": {

                    "contactOrganization": "xx organization",

                    "contactUser": "wm",

                    "email": ""

                },

                "appName": "XX City Geographic Resource Management Platform",

                "authorizeSetting": [

                    {

                        "permissionType": "DELETE",

                        "aliasName": null,

                        "entityRoles": [],

                        "entityType": "USER",

                        "entityName": "iPortal",

                        "entityId": null

                    },

                    {

                        "permissionType": "READ",

                        "aliasName": null,

                        "entityRoles": [],

                        "entityType": "USER",

                        "entityName": "GUEST",

                        "entityId": null

                    }

                ],

                "description": "",

                "updateTime": 1608692202693,

                "verifyReason": null,

                "userName": "iPortal",

                "type": "WEBAPP",

                "tags": [

                    "User Application"

                ],

                "checkUser": null,

                "checkUserNick": null,

                "checkStatus": "UNCHECKED",

                "checkTime": null,

                "createTime": 1608692202693,

                "nickname": null,

                "detailImages": null,

                "id": 997303315

            }

        },

        {

            "checkUserNick": "admin",

            "checkUser": "admin",

            "checkStatus": "FAILED",

            "checkTime": 1608692824699,

            "createTime": 1608692347445,

            "departmentId": null,

            "verifyReason": "",

            "id": 2,

            "objectInfo": {

                "thumbnail": "",

                "address": "",

                "contactInfo": {

                    "contactOrganization": "xx organization",

                    "contactUser": "wm",

                    "email": ""

                },

                "appName": "xx Resource Management Platform",

                "authorizeSetting": [

                    {

                        "permissionType": "DELETE",

                        "aliasName": null,

                        "entityRoles": [],

                        "entityType": "USER",

                        "entityName": "iPortal",

                        "entityId": null

                    },

                    {

                        "permissionType": "SEARCH",

                        "aliasName": null,

                        "entityRoles": [],

                        "entityType": "USER",

                        "entityName": "GUEST",

                        "entityId": null

                    }

                ],

                "description": "Geographic resource integration, management and sharing",

                "updateTime": 1608692347180,

                "verifyReason": null,

                "userName": "iPortal",

                "type": "WEBAPP",

                "tags": [

                    "User Application",

                    "Management Platform"

                ],

                "checkUser": null,

                "checkUserNick": null,

                "checkStatus": "UNCHECKED",

                "checkTime": null,

                "createTime": 1608692347180,

                "nickname": null,

                "detailImages": null,

                "id": 1166830349

            }

        }

    ]

}

To retrieve specific application review information, such as querying rejected applications, set checkStatuses=FAILED

For example, performing a request on the appsCheckInfos resource: http://localhost:8190/iportal/web/appsCheckInfos.rjson?checkStatuses= ["FAILED"] The rjson format resource representation is as follows:

{

    "total": 1,

    "totalPage": 1,

    "pageSize": 9,

    "searchParameter": {

        "orderType": "ASC",

        "serviceIds": null,

        "appIds": null,

        "keywords": null,

        "mapIds": null,

        "orderBy": null,

        "pageSize": 9,

        "departmentIds": null,

        "currentPage": 1,

        "checkStatuses": [

            "FAILED"

        ],

        "objectType": "APP"

    },

    "currentPage": 1,

    "content": [

        {

            "checkUserNick": "admin",

            "checkUser": "admin",

            "checkStatus": "FAILED",

            "checkTime": 1608692824699,

            "createTime": 1608692347445,

            "departmentId": null,

            "verifyReason": "",

            "id": 2,

            "objectInfo": {

                "thumbnail": "",

                "address": "",

                "contactInfo": {

                    "contactOrganization": "xx organization",

                    "contactUser": "wm",

                    "email": ""

                },

                "appName": "xx Resource Management Platform",

                "authorizeSetting": [

                    {

                        "permissionType": "DELETE",

                        "aliasName": null,

                        "entityRoles": [],

                        "entityType": "USER",

                        "entityName": "iPortal",

                        "entityId": null

                    },

                    {

                        "permissionType": "SEARCH",

                        "aliasName": null,

                        "entityRoles": [],

                        "entityType": "USER",

                        "entityName": "GUEST",

                        "entityId": null

                    }

                ],

                "description": "Geographic resource integration, management and sharing",

                "updateTime": 1608692347180,

                "verifyReason": null,

                "userName": "iPortal",

                "type": "WEBAPP",

                "tags": [

                    "User Application",

                    "Management Platform"

                ],

                "checkUser": null,

                "checkUserNick": null,

                "checkStatus": "UNCHECKED",

                "checkTime": null,

                "createTime": 1608692347180,

                "nickname": null,

                "detailImages": null,

                "id": 1166830349

            }

        }

    ]

}

HEAD request

Returns the same HTTP response headers as a GET request, but without the response entity. Metadata information contained in the response headers can be obtained without transferring the entire response content. Metadata includes media type, character encoding, content encoding, and content length.

HEAD requests can be used to determine whether the appsCheckInfos resource exists or whether the client has permission to access the appsCheckInfos resource. By performing a HEAD request on a URI with .<format>, you can also quickly determine whether the appsCheckInfos resource supports the <format> format representation.

See