Issue was, taking the wrong input for $id.
$id = $this->getRequest()->getParam('id');
if (!empty($id)) {
$id = $this->getRequest()->getPost('id');
}
Since this i am sending a get request, this fails. $id = $this->getRequest()->getPost('id')
getPost() should be getParam()