change promises endpoint output, accept multiple candidate IDs in single promise