The resources responsible for creating and managing fleet device filter
-
netField.deployments.filters.getAll(organisationId, page, limit, sortBy, sortOrder, [callback])
-
netField.deployments.filters.update(filterId, params, [callback])
-
netField.deployments.filters.execute(params, page, limit, sortBy, sortOrder, [callback])
Create deployment filter
/**
* @param {object} params
* @param {function} callback optional
*/
netField.deployments.filters.create(params, [callback])
Get a list of all filters
/**
* @param {number} organisationId
* @param {number} page
* @param {number} limit
* @param {string} sortBy
* @param {string} sortOrder
* @param {function} callback optional
*/
netField.deployments.filters.getAll(organisationId, page, limit, sortBy, sortOrder, [callback])
Update filter by id
/**
* @param {string} filterId
* @param {object} params
* @param {function} callback optional
*/
netField.deployments.filters.update(filterId, params, [callback])
Delete filter by id
/**
* @param {string} filterId
* @param {function} callback optional
*/
netField.deployments.filters.delete(filterId, [callback])
Get single filter by id
/**
* @param {string} filterId
* @param {function} callback optional
*/
netField.deployments.filters.get(filterId, [callback])
Execute deployment filter by filterId or filter condition
/**
* @param {object} params
* @param {number} page
* @param {number} limit
* @param {string} sortBy
* @param {string} sortOrder asc, desc
* @param {function} callback optional
*/
netField.deployments.filters.execute(params, page, limit, sortBy, sortOrder, callback)