added ability to API to reset or scan out a ticket