Ajouter un avis
Ajoutez un avis sur une station à l’aide de la mutation addReview. Indiquez une note et un message, ainsi que l’EV et le type de prise utilisés, pour donner plus de contexte aux autres utilisateurs. Si un en-tête x-token est envoyé pour un utilisateur valide, l’avis lui appartiendra, sinon il est ajouté de façon anonyme.
Mutation
Un objet review est requis, contenant l’id de la station, le rating et le message. Vous pouvez inclure en option l’ev, le plugType, la locale, les properties et les tags utilisés lors de la visite.
Arguments
review· ReviewAdd· requiredChamps
id· IDstation· Stationuser· ReviewUserrating· Intmessage· Stringlocale· Stringev· VehicleplugType· ConnectorTypeConnectorType enum values
CHADEMOThe connector type is CHAdeMO, DC.
DOMESTIC_AStandard/domestic household, type "A", NEMA 1-15, 2 pins.
DOMESTIC_BStandard/domestic household, type "B", NEMA 5-15, 3 pins.
DOMESTIC_CStandard/domestic household, type "C", CEE 7/17, 2 pins.
DOMESTIC_DStandard/domestic household, type "D", 3 pins.
DOMESTIC_EStandard/domestic household, type "E", CEE 7/5 3 pins.
DOMESTIC_FStandard/domestic household, type "F", CEE 7/4, Schuko, 3 pins.
DOMESTIC_GStandard/domestic household, type "G", BS 1363, Commonwealth, 3 pins.
DOMESTIC_HStandard/domestic household, type "H", SI-32, 3 pins.
DOMESTIC_IStandard/domestic household, type "I", AS 3112, 3 pins.
DOMESTIC_JStandard/domestic household, type "J", SEV 1011, 3 pins.
DOMESTIC_KStandard/domestic household, type "K", DS 60884-2-D1, 3 pins.
DOMESTIC_LStandard/domestic household, type "L", CEI 23-16-VII, 3 pins.
DOMESTIC_MStandard/Domestic household, type "M", BS 546, 3 pins.
DOMESTIC_NStandard/Domestic household, type "N", NBR 14136, 3 pins.
DOMESTIC_OStandard/Domestic household, type "O", TIS 166-2549, 3 pins.
IEC_60309_2_single_16IEC 60309-2 Industrial connector single phase 16 amperes (usually blue).
IEC_60309_2_three_16IEC 60309-2 Industrial connector three phase 16 amperes (usually red).
IEC_60309_2_three_32IEC 60309-2 Industrial connector three phase 32 amperes (usually red).
IEC_60309_2_three_64IEC 60309-2 Industrial connector three phase 64 amperes (usually red).
IEC_62196_T1IEC 62196 Type 1 "SAE J1772".
IEC_62196_T1_COMBOCombo Type 1 based, DC.
IEC_62196_T2IEC 62196 Type 2 "Mennekes".
IEC_62196_T2_COMBOCombo Type 2 based, DC.
IEC_62196_T3AIEC 62196 Type 3A.
IEC_62196_T3CIEC 62196 Type 3C "Scame".
PANTOGRAPH_BOTTOM_UPOn-board bottom-up-pantograph typically for bus charging.
PANTOGRAPH_TOP_DOWNOff-board top-down-pantograph typically for bus charging.
TESLA_RTesla connector "Roadster"-type (round, 4 pins).
TESLA_STesla connector "Model-S"-type (oval, 5 pins).
GB_TThe connector type is GB_T (Chinese standard), DC.
CHAOJIThe ChaoJi connector. The new generation charging connector, harmonized between CHAdeMO and GB/T. DC.
NEMA_5_20The connector type is NEMA 5-20, 3 pins.
NEMA_6_30The connector type is NEMA 6-30, 3 pins.
NEMA_6_50The connector type is NEMA 6-50, 3 pins.
NEMA_10_30The connector type is NEMA 10-30, 3 pins.
NEMA_10_50The connector type is NEMA 10-50, 3 pins.
NEMA_14_30The connector type is NEMA 14-30, 3 pins, rating of 30 A.
NEMA_14_50The connector type is NEMA 14-50, 3 pins, rating of 50 A.
GBT_ACGuobiao GB/T 20234.2 AC socket/connector.
GBT_DCGuobiao GB/T 20234.3 DC connector.
properties· JSONcreatedAt· DateTimeupdatedAt· DateTimeLes opérations peuvent échouer. Tenez compte des scénarios d'erreur suivants pour les gérer correctement. Plus sur les erreurs here.
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.
Ce contenu vous a-t-il été utile ?