QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

InteractiveRejected Event

This event fires after a user rejects an interactive session.

Syntax

ANSI (Cross Platform)
virtual int FireInteractiveRejected(QBWCServerInteractiveRejectedEventParams *e);
typedef struct {
const char *SessionTicket;
const char *ReasonMessage;
char *ResponseMessage; int reserved; } QBWCServerInteractiveRejectedEventParams; Unicode (Windows) virtual INT FireInteractiveRejected(QBWCServerInteractiveRejectedEventParams *e);
typedef struct {
LPCWSTR SessionTicket;
LPCWSTR ReasonMessage;
LPWSTR ResponseMessage; INT reserved; } QBWCServerInteractiveRejectedEventParams;
- (void)onInteractiveRejected:(NSString*)sessionTicket :(NSString*)reasonMessage :(NSString**)responseMessage;
#define EID_QBWCSERVER_INTERACTIVEREJECTED 9

virtual INT INQB_CALL FireInteractiveRejected(LPSTR &lpszSessionTicket, LPSTR &lpszReasonMessage, LPSTR &lpszResponseMessage);

Remarks

This event fires after a user rejects an interactive session. After requesting an interactive session within GetLastError 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.

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