ExportRequest Class
ExportRequest handle the /api/query/admin/export API endpoint
Constructor
ExportRequest
(
-
options
Parameters:
-
options
ObjectA hash of options for the SessionRequest instance
-
[host]
String optionalA host name for send API requests
-
[username]
String optionalA username for authenticating API requests
-
[password]
String optionalA password for authenticating API requests
-
Methods
file
(
public
-
callback
Export file (JSON/HTML/CSV/XLS/)
Parameters:
-
callback
Function
query
(
public
-
callback
Export query (HTML/CSV/XLS/PDF)
Parameters:
-
callback
Function
Properties
_options
Object
private
Configuration options for the request
Default: {}