Code for web resource to expose HPF DB data