Create a rating for a charger
POST
/api/ratings
Post /api/ratings
Request Body required
object
chargerId
required
string
rating
required
number
Responses
200
Response for status ok
object
success
required
boolean
rating
required
object
userId
required
string
chargerId
required
string
rating
required
number
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