Pla 1641

Added "ref" support as optional url parameter
WAIT FOR QA