URI

<application_uri>/reapply[.<format>]

Supported methods

PUT

Parent resource

application

Introduction

The reapplication resource contains the request list information for the currently logged-in user to reapply for authorization to access multiple resources. It supports users reapplying for authorization to multiple resources.

Supported methods:

  • PUT:The currently logged-in user reapplies for authorization to multiple services.

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/applyinfos/reapply.rjson

PUT request

The currently logged-in user reapplies for authorization to multiple resources.

Request parameters

When sending a request, the following parameters must be passed in the request body:

Name Type Description
applyIds List<Integer> The list of IDs of the resource authorization application forms.
applyReason String The reason for reapplying for the resource.
resourceType ResourceType The type of the reapplied resource.

Response structure

The returned resource representation structure is as follows:

Field Type Description
succeed boolean Whether the reapplication for resource authorization was successful.
error HttpError Error information. This field is not returned if the reapplication for resource authorization is successful.

Response example

Performing a PUT request on the reapplication resource: http://localhost:8190/iportal/web/applyinfos/reapply.rjson to reapply for authorization to multiple resources. The request body is as follows:

{

    "applyIds": [

        "7",

        "8"

    ],

    "applyReason": "Reapply for this resource.",

    "resourceType": "MAP"

}

The rjson format response is as follows:

{"succeed": true}

See