Actions
Actions Object
Actions capture and report asynchronous event statuses via Webhooks . Some examples are:
- chargestation
update_configuration
request set_power_limit
for an ongoing sessionget_diagnostics
request for logs that may take the chargestation a few minutes to process
action.status can be one of following three states:
requested
: The request has been sent to the chargestation
completed
: The chargestation accepted the request. Please see the response object for any data returned
failed
: The chargestation rejected the request. See response data for any error details reported by the chargestation
{
"_id": "62f4dee9f77e7773e4b4864f",
"type": "get_configuration",
"status": "requested",
"chargestation": "62ceeefbaadaf1404ca1a6a0",
"connector": "62ceeefbaadaf1404ca1a6a0",
"data": { "key": "HeartbeatInterval", "value": "900" },
"response_data": {},
"createdAt": "2022-08-11T10:50:17.849Z",
"updatedAt":"2022-08-11T10:50:18.748Z",
}
Attributes
_id string
The Id of this chargestation event
type string
The chargestation event type (
get_configuration
orset_configuration
)
status string
The event status (
requested
,completed
orfailed
)
chargestation string
The chargestation id
connector string
The connector id if required
data object
The data sent to the chargestation via an event
response_data object
Any data sent by the chargestation as a response to a request. For e.g. a list of chargestation settings in response to a GET
/chargestations/{id}/configurations
request.
createdAt datetime
Creation time
updatedAt datetime
Last update time
Updated 5 months ago