All URIs are relative to https://api-na.myconnectwise.net/v4_6_release/apis/3.0
Method | HTTP request | Description |
---|---|---|
system_audittrail_count_get | GET /system/audittrail/count | |
system_audittrail_get | GET /system/audittrail | |
system_audittrail_post | POST /system/audittrail |
Count system_audittrail_count_get(opts)
Get Members 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::AuditTrailApi.new
opts = {
type: "type_example", # String |
id: 56, # Integer |
device_identifier: "device_identifier_example" # String |
}
begin
result = api_instance.system_audittrail_count_get(opts)
p result
rescue Connectwise::ApiError => e
puts "Exception when calling AuditTrailApi->system_audittrail_count_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
type | String | [optional] | |
id | Integer | [optional] | |
device_identifier | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
Array<AuditTrailEntry> system_audittrail_get(opts)
Get Audit Trail
# 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::AuditTrailApi.new
opts = {
type: "type_example", # String |
id: 56, # Integer |
device_identifier: "device_identifier_example" # String |
page: 56, # Integer |
page_size: 56 # Integer |
}
begin
result = api_instance.system_audittrail_get(opts)
p result
rescue Connectwise::ApiError => e
puts "Exception when calling AuditTrailApi->system_audittrail_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
type | String | [optional] | |
id | Integer | [optional] | |
device_identifier | String | [optional] | |
page | Integer | [optional] | |
page_size | Integer | [optional] |
- Content-Type: Not defined
- Accept: application/json
system_audittrail_post(insert_request)
Insert Audit Trail Entries
# 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::AuditTrailApi.new
insert_request = Connectwise::AuditTrailEntryInsertRequest.new # AuditTrailEntryInsertRequest |
begin
api_instance.system_audittrail_post(insert_request)
rescue Connectwise::ApiError => e
puts "Exception when calling AuditTrailApi->system_audittrail_post: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
insert_request | AuditTrailEntryInsertRequest |
nil (empty response body)
- Content-Type: application/json
- Accept: Not defined