NOTE: User must be logged in as admin to access this API

URL : v3/api/get-rating/{ratingId}

Method : GET

Query Parameters :

Parameter Type Possible Values Required/Optional Description
sort-field String id,name Optional Field name to sort
sort-order String asc, desc Optional Sorting order either ascending or descending
search-query String Optional Keyword to be searched in Rating list page
limit Integer Optional Number of records to be displayed in each page
page Integer Optional Page number

Success Response:

{
“id”: 28,
“name”: “api31”,
“display_order”: 0,
“allow_modification”: 0,
“rating_scale”: 5,
“rating_area”: “”,
“restrict”: “”,
“created_at”: “2022-03-23 05:48:11”,
“updated_at”: “2022-03-23 06:14:14”,
“rating_icon”: “star”,
“thank_you_message”: “Thank you for your valuable feedback”,
“is_default”: 1,
“show_additional_comment_box”: 0,
“has_additional_question”: 1,
“parent_rating_id”: null,
“questions”: [
{
“id”: 29,
“name”: “yes?”,
“display_order”: 0,
“allow_modification”: 0,
“rating_scale”: 5,
“rating_area”: “”,
“restrict”: “”,
“created_at”: “2022-03-23 05:48:11”,
“updated_at”: “2022-03-23 06:14:14”,
“rating_icon”: “star”,
“thank_you_message”: “”,
“is_default”: 0,
“show_additional_comment_box”: 0,
“has_additional_question”: 0,
“parent_rating_id”: 28
}
]
}