Data
Get Command Exchange
GET
Get Command Exchange
Returns a command sent to a charger, the charger’s answer, and the messages the command asked for that the charger sent within 60 seconds after it. A
TriggerMessage is answered with only Accepted; the data it asks for, such as MeterValues or StatusNotification, arrives as a message of its own. Works for OCPP 1.6 and 2.0.1.
The command is the method sent to the charger closest to sent_at, up to two minutes before or after it.
Response
The command as logged, with the same fields as an entry of List Logs.
null when no such command is in the log, for example because it is not logged yet.The messages of the asked-for types the charger sent within the window, oldest first, with the same fields as an entry of List Logs. At most 50.
The actions the command asks the charger to send: the
requestedMessage of a TriggerMessage or ExtendedTriggerMessage, NotifyReport after GetBaseReport or GetReport, NotifyMonitoringReport after GetMonitoringReport, ReportChargingProfiles after GetChargingProfiles, NotifyDisplayMessages after GetDisplayMessages, and NotifyCustomerInformation after CustomerInformation. Empty for a command that asks for none.Get Command Exchange