pram tool using rest services