TestLink-API-Python-client icon indicating copy to clipboard operation
TestLink-API-Python-client copied to clipboard

implement new 1.9.20-fixed api - getRequirement

Open lczub opened this issue 3 years ago • 0 comments

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) {

lczub avatar Apr 13 '21 19:04 lczub