sample app  useing eligibleapi