complete exam rest api