BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 131

Advertising
background image

119

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

Description
Retrieves the next page of the

DeviceError

list, sorted by Timestamp. This method will return no more items than the

defined page size.

Required Permissions
Device: View Device Errors

Parameters

[int] deviceId: The identifier and primary key of the device reporting the requested errors. The method returns
Null if a Device instance with the specified identifier does not exist.

[string] marker: The timestamp of the last DeviceError instance on the previous page. If the value is Null, then
the method will retrieve the first page.

[int] pageSize: The maximum number of objects returned by the method. If the list of objects that match the
search criteria exceeds the

[int] pageSize limit, the returned list will indicate that it is truncated. If the integer is

not positive, then the method will return the maximum allowed number of objects. Attempting to request more
objects than is allowed will lead to the same result, but without an error.

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

Description
Retrieves the next page of the

DeviceDownload

list, sorted by timestamp. This method will return no more items than

the defined page size.

Required Permissions
Device: View Device Errors

Parameters

[int] deviceId: The identifier and primary key of the device conducting the requested downloads. The method
returns Null if a Device instance with the specified identifier does not exist.

Advertising