Bool deletedevices(int[] deviceids) – BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 137

Advertising
background image

125

Parameters

[int[]] deviceIds: An array of identifiers corresponding to the

Device

instance(s) that should be affected. The

number of passed items is limited to 100 by the server. Attempting to target more than the allowed number of
objects will result in an error. Passing an array containing a Device

[int] Id value that does not correspond to

an existing Device instance will also result in an error. Passing an empty array will lead to an immediate False
response without an error.

PagedList<DeviceLogReport> GetDeviceLogReports(int deviceId, DeviceLogType logType,
string marker, int pageSize)

Description
Retrieves the next page of the

DeviceLogReport

list associated with the specified

Device

instance. The list is sorted

chronologically by the

[DateTime] StartDate of the log report. A device log, represented by a DeviceLogReport

entity, can be downloaded from persistent storage using the

[string] FilePath URL of the entity. Note that these

URLs point to un-archived files that are in OpenXML format and may be up to 2GB in size each.

Required Permissions
Device: View Device Log Reports

Parameters

[int] DeviceId: The identifier of the Device instance associated with the listed device logs. If a Device instance
with the specified identifier does not exist, the server will return a Null response without error.

[DeviceLogType] logType: The type of DeviceLogReport instances to be retrieved. Log types are represented
with the

DeviceLogType

enumeration.

[string] marker: The name of the last DeviceLogReport instance on the previous page. If the passed string is
Null or empty, the first page of the list will be returned.

[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

Advertising