API:Querypage/Sample code 1