private JSONObject _getByType ( String company , String team , String code ) throws JSONException { String url = "" ; if ( code != null ) { url = "/" + code ; } return oClient . get ( "/otask/v1/tasks/companies/" + company + "/teams/" + team + "/tasks" + url ) ; }
Get by type