public static Boolean subscribe(String tokenid)
 {
     try{
         TokenIdType par      = new TokenIdType(tokenid);
         String      response = sendPostCommand("/subscribe", par.ToString());
         if (response != null)
         {
             return(true);
         }
     }
     catch (Exception ex) {
         logError(ex);
     }
     return(false);
 }
 public static List <ProjectType> getProjectList(String tokenid)
 {
     try{
         TokenIdType par      = new TokenIdType(tokenid);
         String      response = sendPostCommand("/projectList", par.ToString());
         if (response != null)
         {
             if (response.Equals(SubscriptionRequired.ERRCODE))
             {
                 throw new SubscriptionRequired();
             }
             else
             {
                 ProjectListType lstProject = ProjectListType.mapJson(response);
                 return(lstProject.getProjectList());
             }
         }
     }
     catch (Exception ex) {
         logError(ex);
     }
     return(null);
 }