QuickBooks Integrator 2020 Node.js Edition

Questions / Feedback?

Request Event

Fired when a client sends a request to the class.

Syntax

qbconnector.on('Request', [callback])

Callback

The 'callback' is called when the 'Request' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.connectionId
e.userIndex
e.request

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

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

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