Get User Reviews

Last Updated on : 2023-06-15 05:13:32

Get the information about the user's reviews based on the feedback ticket ID.

API address

GET: /v1.0/iot-01/ticket/feedbacks/{feedback_id}/evaluate

Request parameter

Parameter nameTypeINRequiredDescription
feedback_idStringuritrueThe ID of a specified feedback ticket.

Return parameter

Parameter nameTypeDescription
resultEvaluateResVOThe review information. NULL will be returned if no review is given.

Description of result

Parameter nameTypeDescription
ticket_noStringThe ticket number, equivalent to feedbackId.
gmt_createLongThe timestamp when the user gives a review.
contentStringThe content of a review.
resolvedBooleanIndicates whether the user's problem is resolved.
starIntegerThe star level of a review. Valid values range from 1 to 5.
labelsListThe label of a review.

Request example

GET: /v1.0/iot-01/ticket/feedbacks/FBAY202210180***/evaluate

Return example

{
    "tid": "9e3fdb274ec911edb3dcfe522c166b05",
    "result": {
        "gmt_create": 1666083938069,
        "star": 5,
        "content": "jdicjd",
        "labels": [
            "Response speed",
            "Customer service",
            "Professional competency",
            "Solution",
            "Product features",
            "Others"
        ],
        "ticket_no": "FBAY202210180***",
        "resolved": true
    },
    "t": 1666086337428,
    "success": true
}

Error code

For more information, see error code.