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

Page 135

Advertising
background image

123

bool ForceDevicesRecovery(int[] deviceIds, bool reformat)

Description
Enables the flags indicating that the specified device(s) should download and run a recovery script during the next
check-in event. This operation returns True only if it is completely successful. Otherwise, it returns False.

Required Permissions
Device: Recover Device

Parameters

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

Device

instance(s) that should be recovered.

The number of passed items is limited to 100 by the server. Attempting to recover 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.

[bool] reformat: A flag indicating whether the specified devices should also reformat their local storage.

bool CancelDevicesRecovery(int[] deviceIds)

Description
Disables the flags indicating that the specified device(s) should download and run a recovery script during the next
check-in event. This operation only returns True if it is completely successful. Otherwise, it returns False.

Required Permissions
Device: Recover Device

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

Advertising