Deviceerror structure, Devicedownload structure, Device management web methods – BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 127

Advertising
background image

115

DeviceError Structure

The DeviceError structure has the following values.

[DateTime] Timestamp:(Read Only) A UTC timestamp indicating the most recent time that the device reported
a current error.

[sting] ErrorName

[string] ErrorEvent

[string] Reason

[int] ResponseCode

DeviceDownload Structure

The DeviceDownload structure has the following values:

[DateTime] Timestamp:(Read Only) A UTC timestamp indicating when the device reported the current
download.

[string] FileName:(Read Only) The name of the file that is being (or has been) downloaded by the device.

[string] FileHash:(Read Only) A SHA1 hash of the file that is being (or has been) downloaded by the device.

[int] Progress:(Read Only) A value ranging from 0 to 100 indicating the progress of the current download.

[string] Status:(Read Only) The status of the current download.

Device Management Web Methods

PagedList<Device> GetAllDevices(string marker, int pageSize)

List<Device> GetSpecifiedDevices(int[] deviceIds)

PagedList<Device> FindDevices(string namePattern, string marker, int pageSize)

Device GetDevice(int deviceId)

Device GetDeviceBySerial(string serial)

PagedList<DeviceError> GetDeviceErrors(int deviceId, string marker, int pageSize)

PagedList<DeviceDownload> GetDeviceDownloads(int deviceId, string marker, int

pageSize)

Advertising