code: function filterSubmissions(req, res, next) {
    var filterParams = {
      formId: req.body.formId,
      appId: req.body.appId
    };
  
    logger.debug("Middleware filterSubmissions ", {params: filterParams});
  
    forms.getSubmissions(req.connectionOptions, filterParams, _getSubmissionsResultHandler(req, next));
  }
docs: Filtering Submissions
  @param req
  @param res
  @param next