Create a new station review
To improve the user experience of routes you can include reviews as described in query station reviews. To collect reviews and allow users to write one, you will need to use the following mutation.
To be able to write a review you will need a
carId. After that you can use various review arguments like
tags to collect the appropriate data. Keep in mind, the
rating are both required when submitting a review.
ID of a review
Station for which a review was provided
User who added a review. If a review was added by an anonymous user, this will be null
Rating of a review
Message of a review
Locale of a message
Car that was provided/selected by a user
Plug type that was provided/selected by a user
Optional object where you can store custom data you need in your application. This extends the current functionalities we offer
Boolean tags for a station review
Date and time when a review was created
Date and time when a review was updated
If successful, the HTTP status code in the response header is
200 and the response body contains the attributes you
If unsuccessful, the header status code is an error code and the response body contains an error response object. The error response object can be any of the ones below.
Errors & warnings
No car was found with the provided ID
This feature requires authorization. Please contact support for more details!
You are forbidden to execute this operation
Missing required parameter(s): $PARAMETERS
The message provided is too long. The maximum number of characters is 10000
The rating provided is not valid. The value must be between 0 and 5