def get_job_result_and_ingest_in_sentinel(self, job_id):
        """Retrieve the job result and ingest it in Sentinel.

        Args:
            job_id (str): The ID of the job for which the result is to be retrieved.

        Returns:
            str: A message indicating the success of fetching and ingesting the dossier data.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            url = consts.BASE_URL.format(consts.DOSSIER_ENDPOINTS["Result"]).format(job_id)
            response_json = self.make_dossier_call(url, method="GET", headers=self.headers)
            status = response_json.get("status")
            if status == "success":
                applogger.info(
                    self.log_format.format(
                        consts.LOGS_STARTS_WITH,
                        __method_name,
                        self.azure_function_name,
                        "Dossier result fetched successfully",
                    )
                )
                self.parse_response_and_ingest_to_sentinel(response_json)
                return "Fetched and Ingested the dossier data successfully"
            else:
                return "Dossier result failed"
        except InfobloxException:
            raise InfobloxException()
        except Exception as error:
            applogger.error(
                self.log_format.format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    self.azure_function_name,
                    consts.UNEXPECTED_ERROR_MSG.format(error),
                )
            )
            raise InfobloxException()
Retrieve the job result and ingest it in Sentinel.

        Args:
            job_id (str): The ID of the job for which the result is to be retrieved.

        Returns:
            str: A message indicating the success of fetching and ingesting the dossier data.
        
Solutions/Infoblox/Data Connectors/InfobloxCloudDataConnector/InfobloxDossierJobResult/get_dossier_result.py