QuickBooks Integrator 2020 .NET Edition

Questions / Feedback?

InteractiveRejected Event

This event fires after a user rejects an interactive session.

Syntax

public event OnInteractiveRejectedHandler OnInteractiveRejected;

public delegate void OnInteractiveRejectedHandler(object sender, QbwcserverInteractiveRejectedEventArgs e);

public class QbwcserverInteractiveRejectedEventArgs : EventArgs {
  public string SessionTicket { get; }
  public string ReasonMessage { get; }
  public string ResponseMessage { get; set; }
}
Public Event OnInteractiveRejected As OnInteractiveRejectedHandler

Public Delegate Sub OnInteractiveRejectedHandler(sender As Object, e As QbwcserverInteractiveRejectedEventArgs)

Public Class QbwcserverInteractiveRejectedEventArgs Inherits EventArgs
  Public ReadOnly Property SessionTicket As String
  Public ReadOnly Property ReasonMessage As String
  Public Property ResponseMessage As String
End Class

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 .NET Edition - Version 20.0 [Build 7941]