All URIs are relative to https://api-na.myconnectwise.net/v4_6_release/apis/3.0
Method | HTTP request | Description |
---|---|---|
system_reports_get | GET /system/reports | |
system_reports_report_name_columns_get | GET /system/reports/{reportName}/columns | |
system_reports_report_name_count_get | GET /system/reports/{reportName}/count | |
system_reports_report_name_get | GET /system/reports/{reportName} |
Array<Report> system_reports_get(opts)
Get Reports
# load the gem
require 'connectwise-ruby-sdk'
# setup authorization
ConnectWise.configure do |config|
# Configure HTTP basic authorization: BasicAuth
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
end
api_instance = ConnectWise::ReportsApi.new
opts = {
conditions: "conditions_example" # String |
order_by: "order_by_example", # String |
childconditions: "childconditions_example", # String |
customfieldconditions: "customfieldconditions_example", # String |
}
begin
result = api_instance.system_reports_get(opts)
p result
rescue ConnectWise::ApiError => e
puts "Exception when calling ReportsApi->system_reports_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
conditions | String | [optional] | |
order_by | String | [optional] | |
childconditions | String | [optional] | |
customfieldconditions | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
Array<JObject> system_reports_report_name_columns_get(report_name)
Get Column Definitions
# load the gem
require 'connectwise-ruby-sdk'
# setup authorization
ConnectWise.configure do |config|
# Configure HTTP basic authorization: BasicAuth
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
end
api_instance = ConnectWise::ReportsApi.new
report_name = "report_name_example" # String |
begin
result = api_instance.system_reports_report_name_columns_get(report_name)
p result
rescue ConnectWise::ApiError => e
puts "Exception when calling ReportsApi->system_reports_report_name_columns_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
report_name | String |
- Content-Type: Not defined
- Accept: application/json
Count system_reports_report_name_count_get(report_name, opts)
Get Report Results Count
# load the gem
require 'connectwise-ruby-sdk'
# setup authorization
ConnectWise.configure do |config|
# Configure HTTP basic authorization: BasicAuth
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
end
api_instance = ConnectWise::ReportsApi.new
report_name = "report_name_example" # String |
opts = {
conditions: "conditions_example" # String |
}
begin
result = api_instance.system_reports_report_name_count_get(report_name, opts)
p result
rescue ConnectWise::ApiError => e
puts "Exception when calling ReportsApi->system_reports_report_name_count_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
report_name | String | ||
conditions | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
ReportDataResponse system_reports_report_name_get(report_name, opts)
Get Report Results
# load the gem
require 'connectwise-ruby-sdk'
# setup authorization
ConnectWise.configure do |config|
# Configure HTTP basic authorization: BasicAuth
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
end
api_instance = ConnectWise::ReportsApi.new
report_name = "report_name_example" # String |
opts = {
conditions: "conditions_example" # String |
order_by: "order_by_example", # String |
childconditions: "childconditions_example", # String |
customfieldconditions: "customfieldconditions_example", # String |
page: 56, # Integer |
page_size: 56 # Integer |
columns: "columns_example" # String |
}
begin
result = api_instance.system_reports_report_name_get(report_name, opts)
p result
rescue ConnectWise::ApiError => e
puts "Exception when calling ReportsApi->system_reports_report_name_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
report_name | String | ||
conditions | String | [optional] | |
order_by | String | [optional] | |
childconditions | String | [optional] | |
customfieldconditions | String | [optional] | |
page | Integer | [optional] | |
page_size | Integer | [optional] | |
columns | String | [optional] |
- Content-Type: Not defined
- Accept: application/json