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": "644fc18f84c4b5000981ad7b",
"data": {
"_id": "644fc18db506a40c0452220d",
"type": "chargestation.get_composite_schedule",
"status": "completed",
"chargestation": "5fb24edb64345616b6f3198d",
"connector": "5fb24edb64345616b6f3198f",
"response_data": {
"status": "Accepted",
"connectorId": 1,
"scheduleStart": "2023-05-01T13:41:33Z",
"chargingSchedule": {
"duration": 86400,
"chargingRateUnit": "A",
"chargingSchedulePeriod": [
{
"startPeriod": 0,
"limit": 12
}
]
}
},
"createdAt": "2023-05-01T13:41:33.111Z",
"updatedAt": "2023-05-01T13:41:34.642Z"
},
"object": "action",
"type": "chargestation.get_composite_schedule.accepted",
"createdAt": "2023-05-01T13:41:35.264Z"
}
Attributes
_id string
The Id of this event
type string
The action type (See List Of Webhook Events)
status string
The status (
requested
,completed
orfailed
)
chargestation string
The chargestation id
connector string
The connector id if relevant
data object
The data sent to the chargestation via an event
response_data object
Any data sent by the chargestation in response
createdAt datetime
Creation time
updatedAt datetime
Last update time
Updated over 1 year ago