code: function(company, team, code) {
    debug('preparing url');
    var _url = '';
    if (code) {
      _url = '/' + code;
    }
  
    return 'otask/v1/tasks/companies/' + company + '/teams/' + team + '/tasks' + _url;
  }
docs: Get by type
  
  @method _getUrlByType
  @param company {String} Company ID
  @param team {String} Team ID
  @param code {String} Code
  @return {String} Relative api URL
  @private