Set up the REST method according the setting below.
Request definition
Figure 11, Create a Service Provider - step 2 - Request definition REST
•Verify the path to the EV provider with the EV provider
•Verify the Siteid with the EV provider.
•Make sure the stop time used variable 10 and includes a Z after the variable. "stoptime":"{10}Z"
the message in JSON format
{{
"siteId" : "28c9e9db-5283-4620-aa4b-bb5c1d34d8e9",
"connectorId" :"{13}",
"transactionId":"{0}",
"tagId":"0",
"stoptime":"{10}Z"
}}
Response definition
Configure the response as depicted below.
Figure 12, Create a Service Provider - step 3 - Response definition JSON
•The responseCode will be 1 (one) for a successful command to the Charger.
•The responseCode will be 3 (three) for a failed command. The purchase will be cancelled in the CWT. On the Service Statistics page you can see the errorCode.
oIf the errorCode is set to “NO_CONNECTION”, the Charger is out of order.
oAn errorCode “MALFORMED_URL” often refers to a Space ID used that is not connected to a Charger
oFor other errors contact Global Support