private function _getByType($company, $team, $code = null)
    {
        ApiDebug::p(__FUNCTION__);

        $_url = '';
        if (!empty($code)) {
            $_url = '/' . $code;
        }

        $response = $this->_client->get('/otask/v1/tasks/companies/' . $company . '/teams/' . $team . '/tasks' . $_url);
        ApiDebug::p('found response info', $response);

        return $response;
    }
private function _getByType($company, $team, $code = null)
    {
        ApiDebug::p(__FUNCTION__);

        $_url = '';
        if (!empty($code)) {
            $_url = '/' . $code;
        }

        $response = $this->_client->get('/otask/v1/tasks/companies/' . $company . '/teams/' . $team . '/tasks' . $_url);
        ApiDebug::p('found response info', $response);

        return $response;
    }
private function _getByType ( $ company , $ team , $ code = null ) { ApiDebug :: p ( __FUNCTION__ ) ; $ _url = '' ; if ( ! empty ( $ code ) ) { $ _url = '/' . $ code ; } $ response = $ this -> _client -> get ( '/otask/v1/tasks/companies/' . $ company . '/teams/' . $ team . '/tasks' . $ _url ) ; ApiDebug :: p ( 'found response info' , $ response ) ; return $ response ; }
Get by type

@param   string $company Company ID
@param   string $team Team ID
@param   string $code (Optional) Code(s)
@return  object
Get by type