BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 132

Advertising
background image

120

[string] marker: The timestamp of the last DeviceDownload 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.

bool RenameDevice(int deviceId, string newName, string newDescription)

Description
Updates the

[string] Name and [string] Description of the specified

Device

instance. This method returns

True only if the operation was completely successful. Otherwise, it returns False.

Required Permissions
Device: Update Device

Parameters

[int] deviceId: The identifier and primary key of the Device instance to be renamed. If a Device instance with
the specified identifier does not exist, the method will immediately return False without an error.

[string] newName: The new name for the specified Device instance. If the string is greater than 128 characters,
the method will return a descriptive error.

[string] newDescription: The new description for the specified Device instance. If the string is greater than
128 character, the method will return a descriptive error.

bool UpdateDeviceLogsSettings(int deviceId, DeviceLogsSettings settings)

Description
Updates the log settings structure of the specified

Device

instance. This operation returns True only if it is completely

successful. Otherwise, it returns False.

Advertising