All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
GetReportByName | Get /reporting/report/{name} | Retrieves a report by name. |
GetReportFilters | Get /reporting/reportFilters/{name} | Retrieves report filters |
GetReportStatus | Get /reporting/status/{reportId} | Retrieves status information for a report generation request based on the report ID |
RunReport | Post /reporting/report | Run a report |
ReportResult GetReportByName(ctx, name, optional) Retrieves a report by name.
Retrieves a report by name in the desired format (CSV,PDF ,EXCEL). If the report is shared, add [shared:] before the name. This REST API command will be deprecated soon.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
name | string | The report name. | |
optional | *ReportingApiGetReportByNameOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ReportingApiGetReportByNameOpts struct
Name | Type | Description | Notes |
---|
format | optional.String| |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RunReport GetReportFilters(ctx, name) Retrieves report filters
Retrieves report filters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
name | string | The report name |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RunReportInfo GetReportStatus(ctx, reportId) Retrieves status information for a report generation request based on the report ID
Retrieves status information for a report generation request based on the report ID
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
reportId | string | The ID of the report |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RunReportInfo RunReport(ctx, body) Run a report
Sends a request to generate a report asynchronously and returns the request status. If the report is shared, add [shared:] before the name.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | RunReport | The report generation parameters |
- Content-Type: /
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]