Rating

This API allows users to submit a rating for a completed job.

Endpoint #

The Voomerr Rating endpoint is POST https://admin.voomerr.com/api/rating.php

Request Parameters #

Parameter Type Required Description
job_id string Yes The ID of the job to be rated.
rating int Yes The rating given for the job, on a scale of 1-5.
user_rating int Yes The rating given by the user, on a scale of 1-5.
user_id int Yes The ID of the user submitting the rating.
from_user_id int Yes The ID of the user who provided the service.

Response Parameters #

Parameter Type Description
success bool Indicates whether the operation was successful (true) or not (false).
message string A message describing the outcome of the operation.

Request Example #

yaml
{
"job_id": "12345",
"rating": 4,
"user_rating": 3,
"user_id": 9876,
"from_user_id": 5432
}

Response Example #

json
{
"success": true,
"message": "Rating submitted successfully."
}

Powered by BetterDocs