3.2.2. Methods

Methods of feedback

 * Return the most rated features
*
* @param string apikey Project API Key
* @param integer limit Limit result set. You can obtain no more than 100 feedbacks
* @return TFeedback[] Array of found feedbacks
*/
TFeedback[] feedbackRatedFeatures(string apikey, integer limit);


/**
* Attach file to feedback
*
* @param string apikey Project API Key
* @param integer feedback_id Feedback Id TFeedback->id
* @param string name Attachment file name
* @param string description Attachment description
* @param string contents Attachment contents
* @return integer Returns 1 if file stored successfully
*/
integer feedbackAttach(string apikey, integer feedback_id, string name, string description, string contents);
/**
* Search for feedbacks
*
* @param string apikey Project API Key
* @param string type Feedback type. Accepted values feature|bug
* @param string phrase Search Phrase
* @param integer limit Limit result set. You can obtain no more than 100 feedbacks
* @return TFeedback[] Array of found feedbacks
*/
TFeedback[] feedbackSearch(string apikey, string type, string phrase, integer limit);


 /**
* Return the most rated bugs
*
* @param string apikey Project API Key
* @param integer limit Limit result set. You can obtain no more than 100 feedbacks
* @return TFeedback[] Array of top rated bugs
*/
TFeedback[] feedbackRatedBugs(string apikey, integer limit);

/**
* Create new feedback
*
* @param string apikey Project API Key
* @param string type Feedback type. Accepted values feature|bug
* @param string subject Feedback subject
* @param string description Feedback details
* @param string email Sender Email
* @return TFeedback
*/
TFeedback feedbackCreate(string apikey, string type, string subject, string description, string email);


/**

* Subscribe to feedback updates
*
* @param string apikey Project API Key
* @param string email Sender Email
* @param integer feedback_id Feedback ID TFeedback->id
* @return integer
*/
integer feedbackSubscribe(string apikey, string email, integer feedback_id);
    /**
     * Send comments to project owner (contact form)
*
* @param string apikey Project API Key
* @param string name Sender Name
* @param string email Sender Email
* @param string message Comment message
* @return integer
*/
integer commentCreate(string apikey, string name, string email, string message);

Project Methods

 /**
* Get Project Details
*
* @param string apikey Project API Key
* @return TProject Project Details
*/
TProject projectGetDetails(string apikey);

User methods


  /**
* List of project users
*
* @param string apikey
* @return TUser[]
*/
TUser[] userList(string apikey);

/**
* Get user details
*
* @param string apikey
* @param string user_id
* @return TUser
*/
TUser userDetails(string apikey, integer user_id);

/**     
* Create beta tester account
*
* @param string apikey Projet API Key
* @param string email User email
* @param string password User password. If not set?
* @param string first_name First Name
* @param string last_name Last Name
* @return TUser Created user
*/
string userCreate(string apikey, string email, string password, string first_name, string last_name);


/**

     * Unassign user from project
*
* @param string apikey Project API key
* @param integer user_id User id
* @return integer
*/
integer userUnassign(string apikey, integer user_id);

/**

* Map local user to betaeasy user
*
* @param string apikey Proejct API Key
* @param integer user_id Betaeasy user id
* @param integer map_id Your mapping id
* @return integer
*/
integer userMap(string apikey, integer user_id, integer map_id);
Comments