public function fetchOneSync(HTTPRequest $request)
    {
        if (!Security::getCurrentUser()) {
            return $this->makeJsonReponse(401, [
                'message' => 'Unauthorized.'
            ])->setStatusDescription('Unauthorized.');
        }

        $params = $request->params();

        if (empty($params['Class']) || empty($params['HailID'])) {
            return $this->makeJsonReponse(400, [
                'message' => 'Invalid request.'
            ]);
        }
        $class_name = str_replace("-", "\\", $params['Class']);
        if (!class_exists($class_name)) {
            return $this->makeJsonReponse(400, [
                'message' => 'Invalid request.'
            ]);
        }
        $object = DataObject::get($class_name)->filter(['HailID' => $params['HailID']])->first();
        if (!$object) {
            return $this->makeJsonReponse(404, [
                'message' => 'Object does not exist.'
            ]);
        }

        //Refresh from Hail API
        $object->refresh();

        return $this->makeJsonReponse(200, [
            'message' => 'Success'
        ]);
    }