All URIs are relative to https://api.uptrends.com/v4
Method | HTTP request | Description |
---|---|---|
ScheduledReportCreateScheduledReport | Post /ScheduledReport | Creates a new scheduled report. |
ScheduledReportDeleteSpecifiedScheduledReport | Delete /ScheduledReport/{scheduledReportGuid} | Delete the specified scheduled report. |
ScheduledReportGetAllScheduledReports | Get /ScheduledReport | Returns data for all scheduled reports. |
ScheduledReportGetSpecifiedScheduledReport | Get /ScheduledReport/{scheduledReportGuid} | Returns data for the specified scheduled report. |
ScheduledReportPartiallyUpdateScheduledReport | Patch /ScheduledReport/{scheduledReportGuid} | Partially update the specified scheduled report. |
ScheduledReportUpdateScheduledReport | Put /ScheduledReport/{scheduledReportGuid} | Update the specified scheduled report. |
ScheduledReport ScheduledReportCreateScheduledReport(ctx).ScheduledReport(scheduledReport).Execute()
Creates a new scheduled report.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
scheduledReport := *openapiclient.NewScheduledReport() // ScheduledReport | The details for the scheduled report. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ScheduledReportApi.ScheduledReportCreateScheduledReport(context.Background()).ScheduledReport(scheduledReport).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ScheduledReportApi.ScheduledReportCreateScheduledReport``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ScheduledReportCreateScheduledReport`: ScheduledReport
fmt.Fprintf(os.Stdout, "Response from `ScheduledReportApi.ScheduledReportCreateScheduledReport`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiScheduledReportCreateScheduledReportRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
scheduledReport | ScheduledReport | The details for the scheduled report. |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ScheduledReportDeleteSpecifiedScheduledReport(ctx, scheduledReportGuid).Execute()
Delete the specified scheduled report.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
scheduledReportGuid := "scheduledReportGuid_example" // string | The guid of the specified scheduled report.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ScheduledReportApi.ScheduledReportDeleteSpecifiedScheduledReport(context.Background(), scheduledReportGuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ScheduledReportApi.ScheduledReportDeleteSpecifiedScheduledReport``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
scheduledReportGuid | string | The guid of the specified scheduled report. |
Other parameters are passed through a pointer to a apiScheduledReportDeleteSpecifiedScheduledReportRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ScheduledReport ScheduledReportGetAllScheduledReports(ctx).Execute()
Returns data for all scheduled reports.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ScheduledReportApi.ScheduledReportGetAllScheduledReports(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ScheduledReportApi.ScheduledReportGetAllScheduledReports``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ScheduledReportGetAllScheduledReports`: []ScheduledReport
fmt.Fprintf(os.Stdout, "Response from `ScheduledReportApi.ScheduledReportGetAllScheduledReports`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiScheduledReportGetAllScheduledReportsRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ScheduledReport ScheduledReportGetSpecifiedScheduledReport(ctx, scheduledReportGuid).Execute()
Returns data for the specified scheduled report.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
scheduledReportGuid := "scheduledReportGuid_example" // string | The guid of the specified scheduled report.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ScheduledReportApi.ScheduledReportGetSpecifiedScheduledReport(context.Background(), scheduledReportGuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ScheduledReportApi.ScheduledReportGetSpecifiedScheduledReport``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ScheduledReportGetSpecifiedScheduledReport`: ScheduledReport
fmt.Fprintf(os.Stdout, "Response from `ScheduledReportApi.ScheduledReportGetSpecifiedScheduledReport`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
scheduledReportGuid | string | The guid of the specified scheduled report. |
Other parameters are passed through a pointer to a apiScheduledReportGetSpecifiedScheduledReportRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ScheduledReport ScheduledReportPartiallyUpdateScheduledReport(ctx, scheduledReportGuid).ScheduledReport(scheduledReport).Execute()
Partially update the specified scheduled report.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
scheduledReportGuid := "scheduledReportGuid_example" // string | The guid of the specified scheduled report.
scheduledReport := *openapiclient.NewScheduledReport() // ScheduledReport | The details for the scheduled report. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ScheduledReportApi.ScheduledReportPartiallyUpdateScheduledReport(context.Background(), scheduledReportGuid).ScheduledReport(scheduledReport).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ScheduledReportApi.ScheduledReportPartiallyUpdateScheduledReport``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ScheduledReportPartiallyUpdateScheduledReport`: ScheduledReport
fmt.Fprintf(os.Stdout, "Response from `ScheduledReportApi.ScheduledReportPartiallyUpdateScheduledReport`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
scheduledReportGuid | string | The guid of the specified scheduled report. |
Other parameters are passed through a pointer to a apiScheduledReportPartiallyUpdateScheduledReportRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
scheduledReport | ScheduledReport | The details for the scheduled report. |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ScheduledReport ScheduledReportUpdateScheduledReport(ctx, scheduledReportGuid).ScheduledReport(scheduledReport).Execute()
Update the specified scheduled report.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
scheduledReportGuid := "scheduledReportGuid_example" // string | The guid of the specified scheduled report.
scheduledReport := *openapiclient.NewScheduledReport() // ScheduledReport | The details for the scheduled report. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ScheduledReportApi.ScheduledReportUpdateScheduledReport(context.Background(), scheduledReportGuid).ScheduledReport(scheduledReport).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ScheduledReportApi.ScheduledReportUpdateScheduledReport``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ScheduledReportUpdateScheduledReport`: ScheduledReport
fmt.Fprintf(os.Stdout, "Response from `ScheduledReportApi.ScheduledReportUpdateScheduledReport`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
scheduledReportGuid | string | The guid of the specified scheduled report. |
Other parameters are passed through a pointer to a apiScheduledReportUpdateScheduledReportRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
scheduledReport | ScheduledReport | The details for the scheduled report. |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]