add getsingle, getvalue api calls