Mutation
添加充电站评价
使用 addReview 变更为充电站添加评价。请包含评分和留言,以及所使用的 EV 和插头类型,为其他用户提供更多背景信息。如果为有效用户发送了 x-token 请求头,则该评价将归属于该用户,否则将以匿名方式添加。
变更
需要提供 review 对象,其中包含充电站 id、rating 和 message。您还可以包含此次访问中使用的 ev、plugType、locale、properties 和 tags。
参数
字段
操作可能会失败。请考虑以下错误场景以正确处理。有关错误的更多信息 这里。
client_auth_mandatory- This feature requires authorization. Please contact support for more details.
error_forbidden_message- You are forbidden to execute this operation.
missing_required_parameters- Missing required parameter(s): $PARAMETERS.
operation_not_allowed- You are not allowed to execute this operation. Enable it for the current application in the dashboard or reach out to customer support.
rate_limit_exceeded- Rate limit exceeded.
review_message_length_exceeded- The message provided is too long. The maximum number of characters is 10000.
review_rating_not_in_range- The rating provided is not valid. The value must be between 0 and 5.
此内容是否有帮助?