Device getdevice(int deviceid), Device getdevicebyserial(string serial) – BrightSign Network Web API Reference Manual v.3.8 User Manual

Page 130

Advertising
background image

118

[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.

Device GetDevice(int deviceId)

Description
Retrieves a single

Device

instance with the specified

[int] Id. This method returns Null if a Device instance with the

specified identifier does not exist.

Required Permissions
Device: View Devices

Parameters

[int] DeviceId: The identifier and primary key of the requested Device instance.

Device GetDeviceBySerial(string serial)

Description
Retrieves a single

Device

instance with the specified serial number. This method returns Null if a Device instance with

the specified identifier does not exist.

Required Permissions
Device: View Devices

Parameters

[string] serial: The serial number of the device. This is an alternate key for a Device instance.

Advertising