on_response Event
Fired when the class sends a response to the client.
Syntax
class QBConnectorResponseEventParams(object): @property def connection_id() -> int: ... @property def user_index() -> int: ... @property def response() -> str: ... # In class QBConnector: @property def on_response() -> Callable[[QBConnectorResponseEventParams], None]: ... @on_response.setter def on_response(event_hook: Callable[[QBConnectorResponseEventParams], None]) -> None: ...
Remarks
This event will fire with the raw XML retrieved from QuickBooks and sent to the client.
The ConnectionId indicates which client connection this Request event is firing for. The UserIndex is the index of the user in the authorized_user array property. Response is the QBXML Response from QuickBooks, which is being transmitted back to the client.
A UserIndex of -1 means that no matching credentials were found in the authorized_users collection.