/// <summary>
 /// Gets the url to directly launch/view the course registration in a browser
 /// </summary>
 /// <param name="registrationId">Unique Identifier for the registration</param>
 /// <param name="redirectOnExitUrl">Upon exit, the url that the SCORM player will redirect
 // to</param>
 /// <param name="cssUrl">Absolute url that points to a custom player style sheet</param>
 /// <param name="debugLogPointerUrl">Url that the server will postback a "pointer" url regarding
 /// a saved debug log that resides on s3</param>
 /// <returns>URL to launch</returns>
 public String GetLaunchUrlWithTags(
     String registrationId,
     String redirectOnExitUrl,
     String cssUrl,
     String debugLogPointerUrl,
     String learnerTags,
     String courseTags,
     String registrationTags)
     throws Exception {
   ServiceRequest request = new ServiceRequest(configuration);
   request.getParameters().add("regid", registrationId);
   if (!Utils.isNullOrEmpty(redirectOnExitUrl))
     request.getParameters().add("redirecturl", redirectOnExitUrl);
   if (!Utils.isNullOrEmpty(cssUrl)) request.getParameters().add("cssurl", cssUrl);
   if (!Utils.isNullOrEmpty(debugLogPointerUrl))
     request.getParameters().add("saveDebugLogPointerUrl", debugLogPointerUrl);
   if (!Utils.isNullOrEmpty(learnerTags)) {
     request.getParameters().add("learnerTags", learnerTags);
   }
   if (!Utils.isNullOrEmpty(courseTags)) {
     request.getParameters().add("courseTags", courseTags);
   }
   if (!Utils.isNullOrEmpty(registrationTags)) {
     request.getParameters().add("registrationTags", registrationTags);
   }
   return request.constructUrl("rustici.registration.launch");
 }
  /// <summary>
  /// Gets the url to directly launch/view the course registration in a browser
  /// </summary>
  /// <param name="registrationId">Unique Identifier for the registration</param>
  /// <param name="redirectOnExitUrl">Upon exit, the url that the SCORM player will redirect
  // to</param>
  /// <param name="cssUrl">Absolute url that points to a custom player style sheet</param>
  /// <param name="debugLogPointerUrl">Url that the server will postback a "pointer" url regarding
  /// a saved debug log that resides on s3</param>
  /// <returns>URL to launch</returns>
  public String GetLaunchUrl(
      String registrationId,
      String redirectOnExitUrl,
      String cssUrl,
      String debugLogPointerUrl,
      boolean disableTracking)
      throws Exception {
    ServiceRequest request = new ServiceRequest(configuration);
    request.getParameters().add("regid", registrationId);
    if (!Utils.isNullOrEmpty(redirectOnExitUrl))
      request.getParameters().add("redirecturl", redirectOnExitUrl);
    if (!Utils.isNullOrEmpty(cssUrl)) request.getParameters().add("cssurl", cssUrl);
    if (!Utils.isNullOrEmpty(debugLogPointerUrl))
      request.getParameters().add("saveDebugLogPointerUrl", debugLogPointerUrl);
    if (disableTracking) {
      request.getParameters().add("disableTracking", "true");
    }

    return request.constructUrl("rustici.registration.launch");
  }