TestLink-API-Python-client
TestLink-API-Python-client copied to clipboard
implement new 1.9.20-fixed api - getRequirement
implement new 1.9.20-fixed api - getRequirement
related TL Mantis Task
- 9039: [API - XMLRPC] Use the (XMLRPC) API to get requirements coverage matrix
new api
- getRequirement
/**
* Get requirement
*
* @param struct $args
* @param string $args["devKey"]
* @param string $args["testprojectid"]:
* @param int $args["requirementid"]:
* OPTIONAL, if not present, reqdocid must be present
* @param string $args["requirementdocid"]:
* OPTIONAL, if not present, reqid must be present
* @param string $args["version"]
* OPTIONAL
* @param string $args["requirementversionid"]
* OPTIONAL
* If neither version nor versionid are present, the latest version is used
*
* @return mixed error if someting's wrong, else a requirement version
*
* @access public
*/
public function getRequirement($args) {