Online Request Handler
Specific abilities
self.online_user - An instance of
q2_sdk.hq.models.online_user.OnlineUser
self.form_fields - A dictionary of key/value pairs consisting of all the html Input fields passed as part of the POST
self.hq_account_token - A reference to the online session calling the extension
self.account_list - A list (array) of
q2_sdk.hq.models.account.Account
objectsself.smart - Access to work with the Q2Smart product’s API. Requires additional configuration
- class q2_sdk.core.http_handlers.online_handler.Q2OnlineRequestHandler(application, request, **kwargs)[source]
Bases:
Q2HqRequestHandler
RequestHandler meant to be used for requests incoming from Online.