Query station reviews
Every station in your database can be accompanied by a user review. You can query for properties such as rating
and message
but also receive data about the EV that was used. Reviews are stored per station database and can't be used across different projects.
Query
To get the reviews of a specific station you will need to provide a stationId
as an argument. Optionally you can use pagination for your query.
Arguments
ID of the station
Number of elements (count) to return, default: 10
Page number to return, default: 0
Other fields
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
Response
If successful, the HTTP status code in the response header is
200
and the response body contains the attributes you
requested.
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
- Error
ERROR_FORBIDDEN_MESSAGE
You are forbidden to execute this operation
- Error
PAGINATION_INVALID_PAGE
Page must be an INT value higher than 0
- Error
PAGINATION_INVALID_SIZE
Size must be an INT value between 1 and 1000