Added an endpoint to complete the cases.