 
         return defered.promise
 
-    _queryRaw: (name, id, params, options) ->
+    _queryRaw: (name, id, params, options, urlparams) ->
         defaultHttpParams = {method: "GET", headers:  @_headers()}
         httpParams =  _.extend({}, defaultHttpParams, options)
 
         if id
-            httpParams.url = "#{@gmUrls.api(name)}/#{id}"
+            httpParams.url = "#{@gmUrls.api(name, urlparams)}/#{id}"
         else
-            httpParams.url = "#{@gmUrls.api(name)}"
+            httpParams.url = "#{@gmUrls.api(name, urlparams)}"
 
         if not _.isEmpty(params)
             httpParams.params = params

        return defered.promise

    getWikiPageHistorical: (wikiId, filters={}) ->
        urlParams = [wikiId]
        parameters = _.extend({}, filters)
        return @_queryManyPaginated("wiki-historical", parameters, null , null, urlParams)

    createTask: (form) ->
        return @model.create("tasks", form)


        return data

    _queryMany: (name, params, options, urlparams) ->
        defaultHttpParams = {
            method: "GET",
            headers:  @_headers(),
            url: @gmUrls.api(name, urlparams)
        }

        httpParams = _.extend({}, defaultHttpParams, options)
