def prepare_integration_settings_body(self, data):
        """Prepare request body to add integration settings.

        Args:
            data (json): data required for configuration.

        Raises:
            DataminrPulseException: raises when any error occurs.

        Returns:
            json: request body require for adding integration settings.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            body = {
                "watchlists": [],
                "deliveryType": "ms_sentinel",
                "deliveryInfo": {"webhook": "", "authToken": ""},
            }
            watchlists = []
            for id in self.list_ids:
                watchlist = {"id": str(id), "brands": ["ALERT", "FLASH", "URGENT"]}
                watchlists.append(watchlist)
            body.update({"watchlists": watchlists})
            webhook_url = data.get("url")
            auth_token = data.get("token")
            if webhook_url and auth_token:
                body.update(
                    {
                        "deliveryInfo": {
                            "webhook": webhook_url,
                            "authToken": auth_token,
                        }
                    }
                )
            else:
                applogger.error(
                    "{}(method_name={}) Please provide valid key-value for url and token as mentioned below.".format(
                        self.logs_starts_with, __method_name
                    )
                )
                applogger.error('("url": "<url>", "token": "<token>")')
                raise DataminrPulseException(
                    'Please provide valid key-value for url and token as mentioned:("url": "<url>", "token": "<token>")'
                )
            return body
        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)
Prepare request body to add integration settings.

        Args:
            data (json): data required for configuration.

        Raises:
            DataminrPulseException: raises when any error occurs.

        Returns:
            json: request body require for adding integration settings.
        
Solutions/Dataminr Pulse/Data Connectors/DataminrPulseAlerts/DataminrPulseAlertsManualActivity/dataminrpulse_integration_settings.py