All URIs are relative to https://api-na.myconnectwise.net/v4_6_release/apis/3.0
Method | HTTP request | Description |
---|---|---|
company_management_it_solutions_id_management_products_count_get | GET /company/managementItSolutions/{id}/managementProducts/count | |
company_management_it_solutions_id_management_products_get | GET /company/managementItSolutions/{id}/managementProducts | |
company_management_it_solutions_id_management_products_management_product_id_delete | DELETE /company/managementItSolutions/{id}/managementProducts/{managementProductID} | |
company_management_it_solutions_id_management_products_management_product_id_get | GET /company/managementItSolutions/{id}/managementProducts/{managementProductID} | |
company_management_it_solutions_id_management_products_management_product_id_patch | PATCH /company/managementItSolutions/{id}/managementProducts/{managementProductID} | |
company_management_it_solutions_id_management_products_management_product_id_put | PUT /company/managementItSolutions/{id}/managementProducts/{managementProductID} | |
company_management_it_solutions_id_management_products_post | POST /company/managementItSolutions/{id}/managementProducts |
Count company_management_it_solutions_id_management_products_count_get(id, opts)
Get Management Product 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::ManagementItSolutionAgreementInterfaceParametersApi.new
id = 56 # Integer |
opts = {
conditions: "conditions_example" # String |
}
begin
result = api_instance.company_management_it_solutions_id_management_products_count_get(id, opts)
p result
rescue ConnectWise::ApiError => e
puts "Exception when calling ManagementItSolutionAgreementInterfaceParametersApi->company_management_it_solutions_id_management_products_count_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ||
conditions | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
Array<ManagementItSolutionAgreementInterfaceParameter> company_management_it_solutions_id_management_products_get(id, opts)
Get Management Product
# 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::ManagementItSolutionAgreementInterfaceParametersApi.new
id = 56 # Integer |
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 |
}
begin
result = api_instance.company_management_it_solutions_id_management_products_get(id, opts)
p result
rescue ConnectWise::ApiError => e
puts "Exception when calling ManagementItSolutionAgreementInterfaceParametersApi->company_management_it_solutions_id_management_products_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ||
conditions | String | [optional] | |
order_by | String | [optional] | |
childconditions | String | [optional] | |
customfieldconditions | String | [optional] | |
page | Integer | [optional] | |
page_size | Integer | [optional] |
Array<ManagementItSolutionAgreementInterfaceParameter>
- Content-Type: Not defined
- Accept: application/json
ManagementItSolutionAgreementInterfaceParameter company_management_it_solutions_id_management_products_management_product_id_delete(id, management_product_id)
Delete Management Product
# 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::ManagementItSolutionAgreementInterfaceParametersApi.new
id = 56 # Integer |
management_product_id = 56 # Integer |
begin
result = api_instance.company_management_it_solutions_id_management_products_management_product_id_delete(id, management_product_id)
p result
rescue ConnectWise::ApiError => e
puts "Exception when calling ManagementItSolutionAgreementInterfaceParametersApi->company_management_it_solutions_id_management_products_management_product_id_delete: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ||
management_product_id | Integer |
ManagementItSolutionAgreementInterfaceParameter
- Content-Type: Not defined
- Accept: application/json
ManagementItSolutionAgreementInterfaceParameter company_management_it_solutions_id_management_products_management_product_id_get(id, management_product_id)
Get Management Product By Id
# 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::ManagementItSolutionAgreementInterfaceParametersApi.new
id = 56 # Integer |
management_product_id = 56 # Integer |
begin
result = api_instance.company_management_it_solutions_id_management_products_management_product_id_get(id, management_product_id)
p result
rescue ConnectWise::ApiError => e
puts "Exception when calling ManagementItSolutionAgreementInterfaceParametersApi->company_management_it_solutions_id_management_products_management_product_id_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ||
management_product_id | Integer |
ManagementItSolutionAgreementInterfaceParameter
- Content-Type: Not defined
- Accept: application/json
ManagementItSolutionAgreementInterfaceParameter company_management_it_solutions_id_management_products_management_product_id_patch(id, management_product_id, operations)
Management Product
# 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::ManagementItSolutionAgreementInterfaceParametersApi.new
id = 56 # Integer |
management_product_id = 56 # Integer |
operations = [ConnectWise::PatchOperation.new] # Array<PatchOperation> |
begin
result = api_instance.company_management_it_solutions_id_management_products_management_product_id_patch(id, management_product_id, operations)
p result
rescue ConnectWise::ApiError => e
puts "Exception when calling ManagementItSolutionAgreementInterfaceParametersApi->company_management_it_solutions_id_management_products_management_product_id_patch: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ||
management_product_id | Integer | ||
operations | Array<PatchOperation> |
ManagementItSolutionAgreementInterfaceParameter
- Content-Type: application/json
- Accept: application/json
ManagementItSolutionAgreementInterfaceParameter company_management_it_solutions_id_management_products_management_product_id_put(id, management_product_id, management_product)
Replace Management Product
# 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::ManagementItSolutionAgreementInterfaceParametersApi.new
id = 56 # Integer |
management_product_id = 56 # Integer |
management_product = ConnectWise::ManagementItSolutionAgreementInterfaceParameter.new # ManagementItSolutionAgreementInterfaceParameter |
begin
result = api_instance.company_management_it_solutions_id_management_products_management_product_id_put(id, management_product_id, management_product)
p result
rescue ConnectWise::ApiError => e
puts "Exception when calling ManagementItSolutionAgreementInterfaceParametersApi->company_management_it_solutions_id_management_products_management_product_id_put: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ||
management_product_id | Integer | ||
management_product | ManagementItSolutionAgreementInterfaceParameter |
ManagementItSolutionAgreementInterfaceParameter
- Content-Type: application/json
- Accept: application/json
ManagementItSolutionAgreementInterfaceParameter company_management_it_solutions_id_management_products_post(id, management_product)
Create Management Product
# 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::ManagementItSolutionAgreementInterfaceParametersApi.new
id = 56 # Integer |
management_product = ConnectWise::ManagementItSolutionAgreementInterfaceParameter.new # ManagementItSolutionAgreementInterfaceParameter |
begin
result = api_instance.company_management_it_solutions_id_management_products_post(id, management_product)
p result
rescue ConnectWise::ApiError => e
puts "Exception when calling ManagementItSolutionAgreementInterfaceParametersApi->company_management_it_solutions_id_management_products_post: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | ||
management_product | ManagementItSolutionAgreementInterfaceParameter |
ManagementItSolutionAgreementInterfaceParameter
- Content-Type: application/json
- Accept: application/json