public function processAssignmentGroupsRequest(AssignmentGroupsRequest $request)
 {
     if (!isset($_SESSION)) {
         session_start();
     }
     $domain = $_SESSION['domain'];
     $token = \Crypt::decrypt($_SESSION['userToken']);
     $courseId = $_SESSION['courseID'];
     $urlPieces = array();
     $urlArgs = array();
     $urlPieces[] = "https://{$domain}/api/v1/courses/{$courseId}";
     $singleRow = false;
     $urlPieces[] = "assignment_groups";
     $urlArgs[] = "include[]=assignments";
     //Attach token
     $urlArgs[] = "access_token={$token}";
     $urlArgs[] = "per_page=5000";
     $url = GuzzleHelper::constructUrl($urlPieces, $urlArgs);
     $response = GuzzleHelper::makeRequest($request, $url);
     return $this->processCanvasAssignmentGroupsData($response, $courseId, $singleRow);
 }