kemApiV3DealerDevicesGet method

Future<Response<List<DeviceDTO>>> kemApiV3DealerDevicesGet({
  1. String? filterText,
  2. List<String>? serialNumbers,
  3. List<int>? ids,
  4. int? limit,
  5. int? offset,
})

Get the list of devices assigned to the dealer organization of the logged-in user.

Optionally, a list of serial numbers or device ids can be included. If provided, only devices with a matching serial numebr or id will be returned. The returned device list will only contain devices which have been approved by the org's dealer admins. If unapproved devices are needed, consider using /unapprovedDevices @param filterText @param serialNumbers @param ids @param limit @param offset

Implementation

Future<chopper.Response<List<DeviceDTO>>> kemApiV3DealerDevicesGet({
  String? filterText,
  List<String>? serialNumbers,
  List<int>? ids,
  int? limit,
  int? offset,
}) {
  generatedMapping.putIfAbsent(DeviceDTO, () => DeviceDTO.fromJsonFactory);

  return _kemApiV3DealerDevicesGet(
      filterText: filterText,
      serialNumbers: serialNumbers,
      ids: ids,
      limit: limit,
      offset: offset);
}