on_interactive_rejected Event
This event fires after a user rejects an interactive session.
Syntax
class QBWCServerInteractiveRejectedEventParams(object): @property def session_ticket() -> str: ... @property def reason_message() -> str: ... @property def response_message() -> str: ... @response_message.setter def response_message(value) -> None: ... # In class QBWCServer: @property def on_interactive_rejected() -> Callable[[QBWCServerInteractiveRejectedEventParams], None]: ... @on_interactive_rejected.setter def on_interactive_rejected(event_hook: Callable[[QBWCServerInteractiveRejectedEventParams], None]) -> None: ...
Remarks
This event fires after a user rejects an interactive session. After requesting an interactive session within on_get_last_error the user may reject the request. If the request is rejected this event will fire with the reason and allow you to send a message back which will be displayed in QuickBooks Web Connector. The parameters are as follows:
SessionTicket identifies the session.
ReasonMessage is the reason for the rejection as reported by QuickBooks Web Connector. This will be text like "User rejected interactive mode".
ResponseMessage may be set to a string that will be displayed as the "Last Result" in QuickBooks Web Connector.