Skip to content

Get the average rating for a specific charger

GET
/api/ratings/average-by-charger

Get /api/ratings/average-by-charger

Parameters

Query Parameters

chargerId
required
string

Request Body required

Responses

200

Response for status ok

object
success
required
boolean
averageRating
required
number
nullable

400

Response for status badRequest

object
success
required
boolean
message
required
string

403

Response for status forbidden

object
success
required
boolean
message
required
string

404

Response for status notFound

object
success
required
boolean
message
required
string

500

Response for status internalServerError

object
success
required
boolean
message
required
string