QuickBooks Integrator 2020 Python Edition

Questions / Feedback?

on_request Event

Fired when a client sends a request to the class.

Syntax

class QBConnectorRequestEventParams(object):
  @property
  def connection_id() -> int: ...
  @property
  def user_index() -> int: ...
  @property
  def request() -> str: ...

# In class QBConnector:
@property
def on_request() -> Callable[[QBConnectorRequestEventParams], None]: ...
@on_request.setter
def on_request(event_hook: Callable[[QBConnectorRequestEventParams], None]) -> None: ...

Remarks

This event will fire with the raw XML data received from the client, which is to be processed by QuickBooks.

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. Request is the QBXML Request sent from the client.

A UserIndex of -1 means that no matching credentials were found in the authorized_users collection.

Copyright (c) 2021 /n software inc. - All rights reserved.
QuickBooks Integrator 2020 Python Edition - Version 20.0 [Build 7941]