Skip to content

List ratings for a specific charger

GET
/api/ratings/list-by-charger

Get /api/ratings/list-by-charger

Parameters

Query Parameters

chargerId
required
string
skip
integer
>= -9007199254740991 <= 9007199254740991
take
integer
>= -9007199254740991 <= 9007199254740991

Request Body required

Responses

200

Response for status ok

object
success
required
boolean
count
required
number
ratings
required
Array<object>
object
userId
required
string
chargerId
required
string
rating
required
number
>= 1 <= 5
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
namespaceId
required
string
applicationId
required
string

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