added error code in the response when the get by id encounters an error
added form deletion method to the API
added sample request for form deletion