URI

<apps_uri>/checkstatus[.<format>]

Supported methods

PUT

Parent resource

apps

Introduction

The appsCheckStatus resource is used to batch update the review status of applications. Only administrators have the permission to update application review statuses.

Supported methods:

  • PUT:Batch updates the review status of applications.

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/checkstatus.rjson

PUT request

Batch updates the review status of applications. Application review statuses include: SUCCESSFUL for approved, FAILED for rejected.

Request parameters

Performing a PUT request on the appsCheckStatus resource with the following request parameters:

Name Type Description
appIds Integer[] The IDs of the applications whose status needs to be updated.
checkInfo CheckInfo The review information of the application.

Response structure

The returned response structure is as follows:

Field Type Description
succeed boolean Whether updating the application review status was successful.
error HttpError Error information. This field is not returned if the application review status update is successful.

Response example

Performing a PUT request on the appsCheckStatus resource: http://localhost:8190/iportal/web/apps/checkstatus.rjson to update the application review status. The request body is as follows:

{

    "appIds": [

        997303315

    ],

    "checkInfo": {

        "checkStatus": "SUCCESSFUL",

        "verifyReason": ""

    }

}

The rjson format response is as follows:

{ "succeed": true}

See