def add_integration_settings(self, data):
        """To add integration settings for Dataminr RTAP.

        Args:
            data (json): data obtained via HTTP request of azure function.

        Raises:
            DataminrPulseException: raises when any error occurs.

        Returns:
            json: json response of API
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            body = self.prepare_integration_settings_body(data)
            api_response = self.make_rest_call(
                self.add_settings_path, "POST", self.headers, body=json.dumps(body)
            )
            if api_response.status_code == 200:
                return api_response.json()
            else:
                applogger.error(
                    "{}(method={}) Error while adding integration settings in DataminrPulse account.".format(
                        self.logs_starts_with,
                        __method_name,
                    )
                )
                raise DataminrPulseException(api_response.text)
        except DataminrPulseException as err:
            raise DataminrPulseException(err)
        except Exception as err:
            applogger.error(
                self.error_logs.format(self.logs_starts_with, __method_name, err)
            )
            raise DataminrPulseException(err)
To add integration settings for Dataminr RTAP.

        Args:
            data (json): data obtained via HTTP request of azure function.

        Raises:
            DataminrPulseException: raises when any error occurs.

        Returns:
            json: json response of API
        
Solutions/Dataminr Pulse/Data Connectors/DataminrPulseAlerts/DataminrPulseAlertsManualActivity/dataminrpulse_integration_settings.py