device_status
OK
FAILED
Authorization: Bearer ********************
{ "device_status": "FAILED_OFFLINE", "device_status_reason": "Command scheduled" }
curl --location --request PATCH 'https://mock.apidog.com/m1/479670-0-default/v1/command/' \ --header 'Content-Type: application/json' \ --data-raw '{ "device_status": "FAILED_OFFLINE", "device_status_reason": "Command scheduled" }'
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7", "device_id": "xyz-123", "starts_at": "2025-04-30 12:00:00.000Z", "ends_at": "2025-04-30 14:00:00.000Z", "duration_s": 7200, "is_preparatory_action": true, "battery_commands": { "mode": "BACKUP", "power_mode": "FOLLOW_LOAD", "setpoint_w": 5000, "enable_grid_import": true, "enable_grid_export": true, "backup_reserve_percentage": 20, "maximum_charge_percentage": 90 }, "status": "CANCELED", "device_status": "FAILED_OFFLINE", "device_status_reason": "Command scheduled", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }