getExpirydates as REST service