def gettasksurl(dummyId='', *args, **kwargs):
    """Request Tasks URL.

    dummyId is used because MambuStruct always requires an Id from an
    entity, but the Mambu API doesn't requires it for Tasks, because of
    that dummyId defaults to '', but in practice it is never used (if
    someone sends dummyId='someId' nothing happens). The fact of forcing
    to send an entid is a technical debt that should be payed.

    Currently implemented filter parameters:
    * username
    * clientId
    * groupId
    * status
    * limit
    * offset

    Mambu REST API defaults to open when status not provided. Here we
    are just making that explicit always defaulting status to 'OPEN'

    See Mambu official developer documentation for further details, and
    info on parameters that may be implemented here in the future.
    """
    getparams = []
    if kwargs:
        try:
            getparams.append("username=%s" % kwargs["username"])
        except Exception as ex:
            pass

        try:
            getparams.append("clientid=%s" % kwargs["clientId"])
        except Exception as ex:
            pass

        try:
            getparams.append("groupid=%s" % kwargs["groupId"])
        except Exception as ex:
            pass

        try:
            getparams.append("status=%s" % kwargs["status"])
        except Exception as ex:
            getparams.append("status=OPEN")

        try:
            getparams.append("offset=%s" % kwargs["offset"])
        except Exception as ex:
            pass

        try:
            getparams.append("limit=%s" % kwargs["limit"])
        except Exception as ex:
            pass

    url = getmambuurl(*args,**kwargs) + "tasks" + ( "" if len(getparams) == 0 else "?" + "&".join(getparams) )
    return url
Request Tasks URL.

    dummyId is used because MambuStruct always requires an Id from an
    entity, but the Mambu API doesn't requires it for Tasks, because of
    that dummyId defaults to '', but in practice it is never used (if
    someone sends dummyId='someId' nothing happens). The fact of forcing
    to send an entid is a technical debt that should be payed.

    Currently implemented filter parameters:
    * username
    * clientId
    * groupId
    * status
    * limit
    * offset

    Mambu REST API defaults to open when status not provided. Here we
    are just making that explicit always defaulting status to 'OPEN'

    See Mambu official developer documentation for further details, and
    info on parameters that may be implemented here in the future.