Updated api docs and getrecord 500 response.