2 answers

If you set the HTTPInput node advanced option "Parse Query String" then IIB will parse them for you and you can simply access them from the LocalEnvironment eg
InputLocalEnvironment.HTTP.Input.QueryString.queryid