Skip to content

Create a rating for a charger

POST
/api/ratings

Post /api/ratings

Request Body required

object
chargerId
required
string
rating
required
number
>= 1 <= 5

Responses

200

Create a rating for a charger 200 response

object
success
required
boolean
rating
required
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

Create a rating for a charger 400 response

object
success
required
boolean
message
required
string

403

Create a rating for a charger 403 response

object
success
required
boolean
message
required
string

404

Create a rating for a charger 404 response

object
success
required
boolean
message
required
string

500

Create a rating for a charger 500 response

object
success
required
boolean
message
required
string