findDevicesByIdentifier

列出具有指定设备标识符的设备。

方法签名

public FindDevicesResponse findDevicesByDeviceIdentifier(FindDevicesByDeviceIdentifierRequest request)  throws CommonException;

FindDevicesByDeviceIdentifierRequest

属性名称 值 必填 说明
deviceIdentifier object(DeviceIdentifier) 是 要检索的设备的设备标识符。对象可以部分填充。
pageSize int 否 页面大小(最多 100)。如果大于 100 或 null,则使用 100。
pageToken string 否 页面令牌。如果为空,则返回第一页。
vendorParams map 否 额外字段,供应商指定的键值对。

FindDevicesResponse

属性名称 值 说明
devices object(Device) 转销商上传的设备列表。如果不存在匹配项,则为空。
totalCount int 与请求匹配的设备总数。
nextPageToken strong 下一页面令牌。对于最后一页,此值为空。
vendorParams map 可选。额外字段,供应商指定的键值对。

错误行为

如果发生错误,该库会抛出包含以下错误代码之一的 CommonException:

错误代码
INTERNAL_SERVER_ERROR
INVALID_PAGE_TOKEN