code: function uploadSubmissionFile(params, cb) {
    var resourcePath = config.addURIParams("/appforms/submissions/:id/fields/:fieldId/files/:fileId", params);
    var method = "POST";
    var data = params.fileDetails;
  
    params.resourcePath = resourcePath;
    params.method = method;
    params.data = data;
  
    //Flagging This Request As A File Request
    params.fileRequest = true;
    params.fileUploadRequest = true;
  
    mbaasRequest.app(params, cb);
  }
docs: Upload A File Associated With A Submission