URI

<feedbackInfos_uri>/{id}[.<format>]

Supported Methods

GET, HEAD

Parent Resource

feedbackInfos

Child Resources

feedbackReviewSetting, feedbackReplySetting

Description

The feedbackInfo resource represents a specific feedback detail resource. It supports querying feedback details.

Supported Methods:

  • GET: Query the feedback details of the item with the specified ID.
  • HEAD: Check whether the feedbackInfo resource exists or whether the permissions allow access to the feedbackInfo resource.

Supported output formats: RJSON, JSON, 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.

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

GET Request

Query the feedback details of the item with the specified ID.

Response Structure

Perform a GET request on the feedbackInfo resource to get the feedback details of the item with the specified ID. The response consists of the following fields:

Name Type Description
contactNumber String The contact phone number of the feedback submitter.
content String The feedback content.
createTime Long The feedback creation time.
email String The email of the feedback submitter.
id Integer The ID of the feedback item.
name String The name of the feedback submitter.
replied Boolean Whether the feedback has been replied to.
replier String The username of the replier.
replierNickname String The nickname of the replier.
replyContent String The reply content.
replyTime Long The reply time.
reviewComments String The review comments.
reviewer String The username of the reviewer.
reviewerNickname String The nickname of the reviewer.
reviewStatus ReviewStatus The review status.
reviewTime Long The review time.
title String The feedback title.
updateTime Long The feedback update time.
userName String The username of the feedback submitter.

Response Example

Perform a GET request on the feedbackInfo resource: http://localhost:8190/iportal/web/feedback/1.rjson. The rjson format response is as follows:

{

    "replied": false,

    "updateTime": 1589156955302,

    "reviewer": null,

    "userName": "admin",

    "title": "test",

    "reviewComments": null,

    "content": "test",

    "replyTime": null,

    "reviewerNickname": null,

    "createTime": 1589156955302,

    "name": "admin",

    "contactNumber": null,

    "reviewStatus": "PASSED",

    "id": 1,

    "replier": null,

    "replyContent": null,

    "email": "user@supermap.com",

    "reviewTime": null,

    "replierNickname": null

}

HEAD Request

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

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

See