change get_checkout_history to return status code to app

Signed-off-by: William Rockwood <wrockwood@tadl.org>