QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

ProcessRequest Method

Processes the request.

Syntax

ANSI (Cross Platform)
int ProcessRequest();

Unicode (Windows)
INT ProcessRequest();
- (void)processRequest;
#define MID_QBWCSERVER_PROCESSREQUEST 4

INQB_EXTERNAL int INQB_CALL InQB_QBWCServer_Do(void *lpObj, int methid, int cparam, void *param[], int cbparam[], int64 *lpllVal);

Remarks

This method processes the request. A request is made by QuickBooks Web Connector to your web based application. The request must be read from the HTTP context by your application and passed to the RequestData property.

After providing the request, call this method to process the request. The event which corresponds to the call made by QuickBooks Web Connector will fire and allow you to get or set information. Possible events that may fire when this method is called are:

Only one of these events will fire, this is because QuickBooks Web Connector only makes one call at a time. The events provide a SessionTicket so that you can identify which events belong to which session.

After this method returns, the ResponseData property will be populated. You must then send the response in your code.

When sending the response you MUST set the Content-Type header to "text/xml".

Error Handling (C++)

This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)

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