code: def getclienturl(idclient, *args, **kwargs):
      
      getparams = []
      if kwargs:
          try:
              if kwargs["fullDetails"] == True:
                  getparams.append("fullDetails=true")
              else:
                  getparams.append("fullDetails=false")
          except Exception as ex:
              pass
          try:
              getparams.append("firstName=%s" % kwargs["firstName"])
          except Exception as ex:
              pass
          try:
              getparams.append("lastName=%s" % kwargs["lastName"])
          except Exception as ex:
              pass
          try:
              getparams.append("idDocument=%s" % kwargs["idDocument"])
          except Exception as ex:
              pass
          try:
              getparams.append("birthdate=%s" % kwargs["birthdate"])
          except Exception as ex:
              pass
          try:
              getparams.append("state=%s" % kwargs["state"])
          except Exception as ex:
              pass
          try:
              getparams.append("offset=%s" % kwargs["offset"])
          except Exception as ex:
              pass
          try:
              getparams.append("limit=%s" % kwargs["limit"])
          except Exception as ex:
              pass
      clientidparam = "" if idclient == "" else "/"+idclient
      url = getmambuurl(*args,**kwargs) + "clients" + clientidparam + ( "" if len(getparams) == 0 else "?" + "&".join(getparams) )
      return url
docs: Request Clients URL.
  
      If idclient is set, you'll get a response adequate for a MambuClient object.
      If not set, you'll get a response adequate for a MambuClients object.
      See mambuclient module and pydoc for further information.
  
      Currently implemented filter parameters:
      * fullDetails
      * firstName
      * lastName
      * idDocument
      * birthdate
      * state
      * limit
      * offset
  
      See Mambu official developer documentation for further details, and
      info on parameters that may be implemented here in the future.