BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 133

Advertising
background image

121

Required Permissions
Device: Update Device

Parameters

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

[DeviceLogsSettings] settings: A

DeviceLogsSettings

structure with updated values for the specified

device. If this parameter is set to Null, then the method will immediately return False without an error. A descriptive
error will be returned if the specified

[Nullable<TimeSpan>] UploadTime value is less than 00:00:00 or

greater than 23:59:59.

bool ReassignDevices(int[] deviceIds, int newGroupId)

Description
Reassigns the specified

Device

instance(s) to the specified

Group

instance. This operation returns True only if it is

completely successful. Otherwise, it returns False.

Required Permissions
Device: Change Target Group – Group: Remove Device, Add Device

Parameters

[int[]] deviceIds: An array of identifiers corresponding to the Device instance(s) that should be reassigned.
The number of passed items is limited to 100 by the server. Attempting to reassign 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.

[int] newGroupId: The identifier of the Group instance that the Device instance(s) should be reassigned to. If
this value does not match an existing Group instance, then the Device instance(s) will be reassigned to the default
“Unassigned” group.

Advertising