URI

<feedbackInfo>/review[.<format>]

Supported Methods

PUT

Parent Resource

feedbackInfo

Description

The feedbackReviewSetting resource is used to review a single feedbackInfo resource. Users with the ADMIN role can review a single feedback item by sending a PUT request.

Supported Methods:

  • PUT: Review a feedback item.

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

Resource hierarchy

HTTP Request Methods

Perform HTTP requests on the following URI. The rjson output format is used as an example, where supermapiportal is the server name and id is the unique identifier of the feedback item to be reviewed.

http://supermapiportal:8190/iportal/web/feedback/{id}/review.rjson

PUT Request

Review a feedback item with the specified ID. Users with the ADMIN role can perform the review operation.

Request Parameters

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

Name Type Description
reviewComments String The review comments.
reviewStatus ReviewStatus The review status. Optional values are: PASSED, UNPASSED, PENDING.

Response Structure

The returned resource representation structure is as follows:

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

Response Example

Perform a PUT request on the feedbackReviewSetting resource: http://localhost:8190/iportal/web/feedback/219018184/review.rjson to review a feedback item. The request body is as follows:

{

    "reviewStatus": "PASSED",

    "reviewComments": "Approved"

}

The rjson format response is as follows:

{

    "succeed": true

}

See