Skip to content

watchmanmonitoring/wm-syncromsp-swagger-client

Repository files navigation

wm_syncromsp_swagger_client

WmSyncromspSwaggerClient - the Ruby gem for the Syncro

Welcome to the official Syncro API Docs. To use these docs, you will need an active Syncro account. You can sign up for one here: Syncro If you already have an active account, fill in your subdomain below and then click "Authorize" and fill in your api-key. The key is specific to your user account so it is found on the your user profile page. Please review the API License Agreement before using our API. By accessing our API, you are agreeing to the API License Agreement. Please note there is a rate limit of 180 requests per minute per IP address on API Usage.

This SDK is automatically generated by the Swagger Codegen project:

  • API version: v1
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.ruby.RubyClientCodegen For more information, please visit https://help.syncromsp.com/

Installation

Build a gem

To build the Ruby code into a gem:

gem build wm_syncromsp_swagger_client.gemspec

Then either install the gem locally:

gem install ./wm_syncromsp_swagger_client-1.0.0.gem

(for development, run gem install --dev ./wm_syncromsp_swagger_client-1.0.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'wm_syncromsp_swagger_client', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'wm_syncromsp_swagger_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'wm_syncromsp_swagger_client'
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::AppointmentApi.new
opts = { 
  date_from: Date.parse('2013-10-20'), # Date | Returns Appointments that start after the date. Example \"2019-01-25\"
  date_to: Date.parse('2013-10-20'), # Date | Returns Appointments that start before the date. Example \"2019-12-31\"
  mine: true, # BOOLEAN | Return only current user's appointments
  page: 56 # Integer | Returns provided page of results, each 'page' contains 25 results
}

begin
  #Returns a paginated list of Appointments
  api_instance.appointments_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling AppointmentApi->appointments_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::AppointmentApi.new
id = 56 # Integer | 


begin
  #Deletes an Appointment by ID
  api_instance.appointments_id_delete(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling AppointmentApi->appointments_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::AppointmentApi.new
id = 56 # Integer | 


begin
  #Retrieves an Appointment by ID
  result = api_instance.appointments_id_get(id)
  p result
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling AppointmentApi->appointments_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::AppointmentApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body3.new # Body3 | Appointment object that needs to be added
}

begin
  #Updates an existing Appointment by ID
  api_instance.appointments_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling AppointmentApi->appointments_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::AppointmentApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body2.new # Body2 | Appointment object that needs to be added
}

begin
  #Creates an Appointment
  api_instance.appointments_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling AppointmentApi->appointments_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::AppointmentTypeApi.new

begin
  #Returns a paginated list of Appointment Types
  api_instance.appointment_types_get
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling AppointmentTypeApi->appointment_types_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::AppointmentTypeApi.new
id = 56 # Integer | 


begin
  #Deletes an Appointment Type by ID
  api_instance.appointment_types_id_delete(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling AppointmentTypeApi->appointment_types_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::AppointmentTypeApi.new
id = 56 # Integer | 


begin
  #Retrieves an Appointment Type by ID
  api_instance.appointment_types_id_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling AppointmentTypeApi->appointment_types_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::AppointmentTypeApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body1.new # Body1 | Appointment Type object that needs to be updated
}

begin
  #Updates an existing Appointment Type by ID
  api_instance.appointment_types_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling AppointmentTypeApi->appointment_types_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::AppointmentTypeApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body.new # Body | Appointment Type object that needs to be added
}

begin
  #Creates an Appointment Type
  api_instance.appointment_types_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling AppointmentTypeApi->appointment_types_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::AssetApi.new
opts = { 
  snmp_enabled: true, # BOOLEAN | Any assets with SNMP enabled
  customer_id: 56, # Integer | Any assets attached to a Customer ID
  asset_type_id: 56, # Integer | Any assets attached to an Asset Type ID
  query: 56, # Integer | Search query
  page: 56 # Integer | Returns provided page of results, each 'page' contains 25 results
}

begin
  #Returns a paginated list of Assets
  api_instance.customer_assets_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling AssetApi->customer_assets_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::AssetApi.new
id = 56 # Integer | 


begin
  #Retrieves an Asset by ID
  api_instance.customer_assets_id_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling AssetApi->customer_assets_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::AssetApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body5.new # Body5 | Asset object that needs to be updated
}

begin
  #Updates an existing Asset by ID
  api_instance.customer_assets_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling AssetApi->customer_assets_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::AssetApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body4.new # Body4 | Asset object that needs to be added
}

begin
  #Creates an Asset
  api_instance.customer_assets_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling AssetApi->customer_assets_post: #{e}"
end

api_instance = WmSyncromspSwaggerClient::CallApi.new
did = 'did_example' # String | Phone number
opts = { 
  outbound: true # BOOLEAN | 
}

begin
  #Get Caller ID
  api_instance.callerid_get(did, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling CallApi->callerid_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ContactApi.new
opts = { 
  customer_id: 56, # Integer | Any contacts attached to a Customer ID
  page: 56 # Integer | Returns provided page of results, each 'page' contains 25 results
}

begin
  #Returns a paginated list of Contacts
  api_instance.contacts_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ContactApi->contacts_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ContactApi.new
id = 56 # Integer | 


begin
  #Deletes a Contact
  api_instance.contacts_id_delete(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ContactApi->contacts_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ContactApi.new
id = 56 # Integer | 


begin
  #Retrieves a Contact by ID
  result = api_instance.contacts_id_get(id)
  p result
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ContactApi->contacts_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ContactApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body7.new # Body7 | Contact object that needs to be updated
}

begin
  #Updates an existing Contact
  api_instance.contacts_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ContactApi->contacts_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ContactApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body6.new # Body6 | Contact object that needs to be added
}

begin
  #Creates a Contact
  api_instance.contacts_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ContactApi->contacts_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ContractApi.new
opts = { 
  page: 56 # Integer | Returns provided page of results, each 'page' contains 50 results
}

begin
  #Returns a paginated list of Contracts
  api_instance.contracts_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ContractApi->contracts_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ContractApi.new
id = 56 # Integer | 


begin
  #Deletes a Contract by ID
  api_instance.contracts_id_delete(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ContractApi->contracts_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ContractApi.new
id = 56 # Integer | 


begin
  #Retrieves a Contract by ID
  api_instance.contracts_id_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ContractApi->contracts_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ContractApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body9.new # Body9 | Contract object that needs to be updated
}

begin
  #Updates an existing Contract by ID
  api_instance.contracts_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ContractApi->contracts_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ContractApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body8.new # Body8 | Contract object that needs to be added
}

begin
  #Creates a Contract
  api_instance.contracts_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ContractApi->contracts_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::CustomerApi.new
opts = { 
  query: 'query_example' # String | Search query
}

begin
  #Returns a paginated list of customers for autocomplete query
  api_instance.customers_autocomplete_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling CustomerApi->customers_autocomplete_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::CustomerApi.new
opts = { 
  sort: 'sort_example', # String | A customer field to order by. Examples \"firstname ASC\", \"city DESC\".
  query: 'query_example', # String | Search query
  firstname: 'firstname_example', # String | Any customers with a first name like the parameter
  lastname: 'lastname_example', # String | Any customers with a last name like the parameter
  business_name: 'business_name_example', # String | Any customers with a business name like the parameter
  id: [56], # Array<Integer> | Any customers with ID included in the list
  not_id: [56], # Array<Integer> | Any customers with ID not included in the list
  email: 'email_example', # String | 
  include_disabled: 'false', # String | Whether or not the returned list of customers includes disabled customers
  page: 56 # Integer | Returns provided page of results, each 'page' contains 25 results
}

begin
  #Returns a paginated list of customers
  api_instance.customers_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling CustomerApi->customers_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::CustomerApi.new
id = 56 # Integer | 


begin
  #Deletes a Customer by ID
  api_instance.customers_id_delete(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling CustomerApi->customers_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::CustomerApi.new
id = 56 # Integer | 


begin
  #Retrieves a Customer by ID
  api_instance.customers_id_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling CustomerApi->customers_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::CustomerApi.new
id = 56 # Integer | 
opts = { 
  body: nil # Object | 
}

begin
  #Updates an existing Customer by ID
  api_instance.customers_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling CustomerApi->customers_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::CustomerApi.new

begin
  #Returns latest Customer
  api_instance.customers_latest_get
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling CustomerApi->customers_latest_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::CustomerApi.new
opts = { 
  body: nil # Object | 
}

begin
  #Creates a Customer
  api_instance.customers_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling CustomerApi->customers_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::EstimateApi.new
opts = { 
  mine: true, # BOOLEAN | Returns estimates that belong to the current user
  status: 'status_example', # String | Returns estimates with a given status. Possible values are 'approved' and 'declined'.
  page: 56 # Integer | Returns provided page of results, each 'page' contains 50 results
}

begin
  #Returns a paginated list of Estimates
  api_instance.estimates_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling EstimateApi->estimates_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::EstimateApi.new
id = 56 # Integer | 


begin
  #Convert an Estimate to an Invoice
  api_instance.estimates_id_convert_to_invoice_post(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling EstimateApi->estimates_id_convert_to_invoice_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::EstimateApi.new
id = 56 # Integer | 


begin
  #Deletes an Estimate by ID
  api_instance.estimates_id_delete(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling EstimateApi->estimates_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::EstimateApi.new
id = 56 # Integer | 


begin
  #Sends an Estimate to a Customer
  api_instance.estimates_id_email_post(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling EstimateApi->estimates_id_email_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::EstimateApi.new
id = 56 # Integer | Estimate ID
opts = { 
  number: 'number_example' # String | Estimate number is used when the server cannot find an Estimate by ID
}

begin
  #Retrieves an Estimate by ID or number
  api_instance.estimates_id_get(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling EstimateApi->estimates_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::EstimateApi.new
id = 56 # Integer | 
line_item_id = 56 # Integer | 


begin
  #Deletes a Line Item
  api_instance.estimates_id_line_items_line_item_id_delete(id, line_item_id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling EstimateApi->estimates_id_line_items_line_item_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::EstimateApi.new
id = 56 # Integer | 
line_item_id = 56 # Integer | 
opts = { 
  body: nil # Object | 
}

begin
  #Updates a Line Item
  api_instance.estimates_id_line_items_line_item_id_put(id, line_item_id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling EstimateApi->estimates_id_line_items_line_item_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::EstimateApi.new
id = 56 # Integer | 
opts = { 
  body: nil # Object | 
}

begin
  #Adds a Line Item to an Estimate
  api_instance.estimates_id_line_items_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling EstimateApi->estimates_id_line_items_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::EstimateApi.new
id = 56 # Integer | 


begin
  #Queues a print job for an Estimate
  api_instance.estimates_id_print_post(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling EstimateApi->estimates_id_print_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::EstimateApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body11.new # Body11 | 
}

begin
  #Updates an existing Estimate by ID
  api_instance.estimates_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling EstimateApi->estimates_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::EstimateApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body10.new # Body10 | 
}

begin
  #Creates an Estimate
  api_instance.estimates_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling EstimateApi->estimates_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::InvoiceApi.new
opts = { 
  paid: true, # BOOLEAN | Whether or not the returned list of invoices has been marked as paid
  unpaid: true, # BOOLEAN | Whether or not the returned list of invoices has been marked as unpaid
  ticket_id: 56, # Integer | Any invoices attached to a Ticket ID
  since_updated_at: 'since_updated_at_example', # String | Any invoices updated since a date
  page: 56 # Integer | Returns provided page of results, each 'page' contains 25 results
}

begin
  #Returns a paginated list of Invoices
  api_instance.invoices_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling InvoiceApi->invoices_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::InvoiceApi.new
id = 56 # Integer | ID of Invoice to delete


begin
  #Deletes an invoice by ID
  api_instance.invoices_id_delete(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling InvoiceApi->invoices_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::InvoiceApi.new
id = 56 # Integer | ID of Invoice which will be emailed


begin
  #Sends invoice to customer
  api_instance.invoices_id_email_post(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling InvoiceApi->invoices_id_email_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::InvoiceApi.new
id = 56 # Integer | ID or Number of Invoice to retrieve


begin
  #Retrieves an Invoice by ID or Number
  result = api_instance.invoices_id_get(id)
  p result
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling InvoiceApi->invoices_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::InvoiceApi.new
id = 56 # Integer | The ID of the Invoice to print


begin
  #Queues a print job for an invoice
  api_instance.invoices_id_print_post(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling InvoiceApi->invoices_id_print_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::InvoiceApi.new
id = 56 # Integer | ID of Invoice to update
opts = { 
  body: WmSyncromspSwaggerClient::Body13.new # Body13 | Invoice properties to update
}

begin
  #Updates an existing invoice by ID
  api_instance.invoices_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling InvoiceApi->invoices_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::InvoiceApi.new
id = 56 # Integer | ID of Invoice whose Ticket will be returned


begin
  #Returns the associated ticket for an invoice
  api_instance.invoices_id_ticket_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling InvoiceApi->invoices_id_ticket_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::InvoiceApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body12.new # Body12 | Invoice object that needs to be added
}

begin
  #Creates an Invoice
  api_instance.invoices_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling InvoiceApi->invoices_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::InvoiceLineItemApi.new
id = 56 # Integer | ID of Invoice to delete
line_item_id = 56 # Integer | ID of line item to update


begin
  #Deletes an a line item of an invoice by ID
  api_instance.invoices_id_line_items_line_item_id_delete(id, line_item_id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling InvoiceLineItemApi->invoices_id_line_items_line_item_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::InvoiceLineItemApi.new
id = 56 # Integer | ID of Invoice to update
line_item_id = 56 # Integer | ID of line item to update
opts = { 
  body: nil # Object | ID of line item to update
}

begin
  #Updates an a line item of an invoice by ID
  api_instance.invoices_id_line_items_line_item_id_put(id, line_item_id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling InvoiceLineItemApi->invoices_id_line_items_line_item_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::InvoiceLineItemApi.new
id = 56 # Integer | ID of Invoice to update
opts = { 
  body: nil # Object | ID of line item to update
}

begin
  #Creates a new line item
  api_instance.invoices_id_line_items_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling InvoiceLineItemApi->invoices_id_line_items_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ItemApi.new
opts = { 
  completed: true, # BOOLEAN | Returns only completed part orders
  query: 'query_example', # String | Search query
  page: 56 # Integer | Returns provided page of results, each 'page' contains 50 results
}

begin
  #Returns a paginated list of Part Orders
  api_instance.items_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ItemApi->items_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::LeadApi.new
opts = { 
  statuses: ['statuses_example'], # Array<String> | Array of statuses. Possible values are \"New\", \"Lead\", \"First Contact\", \"Opportunity\", \"Prospect\", \"Waiting on Client\", \"In Negotiation\", \"Pending\", \"Won\", \"Lost\".
  status_list: 'status_list_example', # String | Comma separated list of statuses.
  users: [56], # Array<Integer> | Array of user IDs.
  mailbox_ids: [56], # Array<Integer> | Array of Mailbox IDs
  has_ticket: true, # BOOLEAN | 
  query: 'query_example', # String | Search query
  page: 56 # Integer | Returns provided page of results, each 'page' contains 25 results
}

begin
  #Returns a paginated list of Leads
  api_instance.leads_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling LeadApi->leads_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::LeadApi.new
id = 56 # Integer | 


begin
  #Retrieves a Lead by ID
  api_instance.leads_id_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling LeadApi->leads_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::LeadApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body15.new # Body15 | Lead object that needs to be updated
}

begin
  #Updates an existing Lead by ID
  api_instance.leads_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling LeadApi->leads_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::LeadApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body14.new # Body14 | Lead object that needs to be added
}

begin
  #Creates a Lead
  api_instance.leads_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling LeadApi->leads_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::LineItemApi.new
opts = { 
  invoice_id: 56, # Integer | Returns Line Items that belong to an Invoice ID
  estimate_id: 56, # Integer | Returns Line Items that belong to an Estimate ID
  invoice_id_not_null: true, # BOOLEAN | Returns Line Items that belong to any Invoice
  estimate_id_not_null: true # BOOLEAN | Returns Line Items that belong to any Estimate
}

begin
  #Returns a paginated list of Line Items
  api_instance.line_items_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling LineItemApi->line_items_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::NewTicketFormApi.new

begin
  #Returns a paginated list of Ticket Forms
  api_instance.new_ticket_forms_get
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling NewTicketFormApi->new_ticket_forms_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::NewTicketFormApi.new
id = 56 # Integer | 


begin
  #Retrieves a Ticket Form
  api_instance.new_ticket_forms_id_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling NewTicketFormApi->new_ticket_forms_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::NewTicketFormApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body16.new # Body16 | 
}

begin
  #Creates a new Ticket for a Ticket Form
  api_instance.new_ticket_forms_id_process_form_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling NewTicketFormApi->new_ticket_forms_id_process_form_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PaymentApi.new
opts = { 
  query: 'query_example', # String | Search query
  page: 56 # Integer | Returns provided page of results, each 'page' contains 25 results
}

begin
  #Returns a paginated list of Payments
  api_instance.payments_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PaymentApi->payments_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PaymentApi.new
id = 56 # Integer | 


begin
  #Retrieves a Payment by ID
  api_instance.payments_id_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PaymentApi->payments_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PaymentApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body19.new # Body19 | 
}

begin
  #Creates a Payment
  api_instance.payments_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PaymentApi->payments_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PaymentMethodApi.new

begin
  #Returns a paginated list of Payment Methods
  api_instance.payment_methods_get
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PaymentMethodApi->payment_methods_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PaymentProfileApi.new
customer_id = 56 # Integer | 


begin
  #Returns a paginated list of Payment Profiles
  api_instance.customers_customer_id_payment_profiles_get(customer_id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PaymentProfileApi->customers_customer_id_payment_profiles_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PaymentProfileApi.new
customer_id = 56 # Integer | 
id = 56 # Integer | 


begin
  #Deletes a Payment Profile
  api_instance.customers_customer_id_payment_profiles_id_delete(customer_id, id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PaymentProfileApi->customers_customer_id_payment_profiles_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PaymentProfileApi.new
customer_id = 56 # Integer | 
id = 56 # Integer | 


begin
  #Retrieves a Payment Profile by ID
  api_instance.customers_customer_id_payment_profiles_id_get(customer_id, id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PaymentProfileApi->customers_customer_id_payment_profiles_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PaymentProfileApi.new
customer_id = 56 # Integer | 
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body18.new # Body18 | 
}

begin
  #Updates a Payment Profile
  api_instance.customers_customer_id_payment_profiles_id_put(customer_id, id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PaymentProfileApi->customers_customer_id_payment_profiles_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PaymentProfileApi.new
customer_id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body17.new # Body17 | 
}

begin
  #Creates a Payment Profile
  api_instance.customers_customer_id_payment_profiles_post(customer_id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PaymentProfileApi->customers_customer_id_payment_profiles_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PhoneApi.new
customer_id = 56 # Integer | 


begin
  #Returns a paginated list of Phones
  api_instance.customers_customer_id_phones_get(customer_id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PhoneApi->customers_customer_id_phones_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PhoneApi.new
customer_id = 56 # Integer | 
id = 56 # Integer | 


begin
  #Deletes a Phone by ID
  api_instance.customers_customer_id_phones_id_delete(customer_id, id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PhoneApi->customers_customer_id_phones_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PhoneApi.new
customer_id = 56 # Integer | 
id = 56 # Integer | 
opts = { 
  body: nil # Object | 
}

begin
  #Updates an existing Phone by ID
  api_instance.customers_customer_id_phones_id_put(customer_id, id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PhoneApi->customers_customer_id_phones_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PhoneApi.new
customer_id = 56 # Integer | 
opts = { 
  body: nil # Object | 
}

begin
  #Creates a Phone
  api_instance.customers_customer_id_phones_post(customer_id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PhoneApi->customers_customer_id_phones_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PortalUserApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body20.new # Body20 | Portal User ID
}

begin
  #Creates an Invitation for a Portal User
  api_instance.portal_users_create_invitation_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PortalUserApi->portal_users_create_invitation_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PortalUserApi.new
opts = { 
  customer_id: 56, # Integer | Returns Portal Users that belong to a Customer ID
  email: 'email_example', # String | Portal User email
  page: 56 # Integer | Returns provided page of results, each 'page' contains 100 results
}

begin
  #Returns a paginated list of Portal Users
  api_instance.portal_users_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PortalUserApi->portal_users_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PortalUserApi.new
id = 56 # Integer | 


begin
  #Deletes a Portal User by ID
  api_instance.portal_users_id_delete(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PortalUserApi->portal_users_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PortalUserApi.new
id = 56 # Integer | 
opts = { 
  body: nil # Object | 
}

begin
  #Updates an existing Portal User by ID
  api_instance.portal_users_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PortalUserApi->portal_users_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PortalUserApi.new
opts = { 
  body: nil # Object | 
}

begin
  #Creates a Portal User
  api_instance.portal_users_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PortalUserApi->portal_users_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ProductApi.new
opts = { 
  barcode: 'barcode_example' # String | Product Barcode string
}

begin
  #Returns a Product by Barcode
  api_instance.products_barcode_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ProductApi->products_barcode_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ProductApi.new

begin
  #Returns a paginated list of Product Categories
  api_instance.products_categories_get
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ProductApi->products_categories_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ProductApi.new
opts = { 
  sort: 'sort_example', # String | A Product field to order by. Example \"name ASC\".
  sku: 'sku_example', # String | Returns Products with the SKU.
  name: 'name_example', # String | Returns Products with the name.
  upc_code: 'upc_code_example', # String | Returns Products with the UPC Code.
  category_id: 56, # Integer | Returns Products from the Category.
  id: [56], # Array<Integer> | Any product with ID included in the list.
  id_not: [56], # Array<Integer> | Any product with ID not included in the list.
  query: 'query_example', # String | Search query.
  page: 56 # Integer | Returns provided page of results, each 'page' contains 25 results.
}

begin
  #Returns a paginated list of Products
  api_instance.products_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ProductApi->products_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ProductApi.new
id = 56 # Integer | 
opts = { 
  body: nil # Object | 
}

begin
  #Creates a Product Image
  api_instance.products_id_add_images_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ProductApi->products_id_add_images_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ProductApi.new
id = 56 # Integer | 
opts = { 
  photo_id: 56 # Integer | 
}

begin
  #Deletes a Product Image
  api_instance.products_id_delete_image_delete(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ProductApi->products_id_delete_image_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ProductApi.new
id = 56 # Integer | 


begin
  #Retrieves a Product by ID
  api_instance.products_id_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ProductApi->products_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ProductApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body26.new # Body26 | 
}

begin
  #Updates a Location Quantity
  api_instance.products_id_location_quantities_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ProductApi->products_id_location_quantities_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ProductApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body25.new # Body25 | Product object that needs to be updated
}

begin
  #Updates an existing Product by ID
  api_instance.products_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ProductApi->products_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ProductApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body24.new # Body24 | Product object that needs to be added
}

begin
  #Creates a Product
  api_instance.products_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ProductApi->products_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ProductSerialApi.new
product_id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body23.new # Body23 | 
}

begin
  #Adds Product Serials to a Line Item
  api_instance.products_product_id_product_serials_attach_to_line_item_post(product_id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ProductSerialApi->products_product_id_product_serials_attach_to_line_item_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ProductSerialApi.new
product_id = 56 # Integer | 
opts = { 
  status: 'status_example', # String | Possible values are reserved, sold, returned, in_transfer, breakage, used_in_refurb, in_stock
  page: 56 # Integer | Returns provided page of results, each 'page' contains 100 result
}

begin
  #Returns a paginated list of Product_serials
  result = api_instance.products_product_id_product_serials_get(product_id, opts)
  p result
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ProductSerialApi->products_product_id_product_serials_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ProductSerialApi.new
product_id = 56 # Integer | 
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body22.new # Body22 | Product Serial object that needs to be updated
}

begin
  #Updates an existing Product Serial by ID
  api_instance.products_product_id_product_serials_id_put(product_id, id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ProductSerialApi->products_product_id_product_serials_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ProductSerialApi.new
product_id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body21.new # Body21 | Product Serial object that needs to be added
}

begin
  #Creates a Product Serial
  api_instance.products_product_id_product_serials_post(product_id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ProductSerialApi->products_product_id_product_serials_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PurchaseOrderApi.new
opts = { 
  page: 56 # Integer | Returns provided page of results, each 'page' contains 20 results
}

begin
  #Returns a paginated list of Purchase Orders
  api_instance.purchase_orders_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PurchaseOrderApi->purchase_orders_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PurchaseOrderApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body29.new # Body29 | 
}

begin
  #Adds a Product to a Purchase Order
  api_instance.purchase_orders_id_create_po_line_item_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PurchaseOrderApi->purchase_orders_id_create_po_line_item_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PurchaseOrderApi.new
id = 56 # Integer | 


begin
  #Retrieves a Purchase Order by ID
  api_instance.purchase_orders_id_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PurchaseOrderApi->purchase_orders_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PurchaseOrderApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body28.new # Body28 | 
}

begin
  #receive purchase_order
  api_instance.purchase_orders_id_receive_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PurchaseOrderApi->purchase_orders_id_receive_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::PurchaseOrderApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body27.new # Body27 | 
}

begin
  #Creates a Purchase Order
  api_instance.purchase_orders_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling PurchaseOrderApi->purchase_orders_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::RMMAlertApi.new
opts = { 
  status: 'active', # String | Possible values resolved, all, active.
  page: 56 # Integer | Returns provided page of results, each 'page' contains 25 results
}

begin
  #Returns a paginated list of RMM Alerts
  api_instance.rmm_alerts_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling RMMAlertApi->rmm_alerts_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::RMMAlertApi.new
id = 56 # Integer | 


begin
  #Deletes/Clears an RMM Alert by ID
  api_instance.rmm_alerts_id_delete(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling RMMAlertApi->rmm_alerts_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::RMMAlertApi.new
id = 56 # Integer | 


begin
  #Retrieves an RMM Alert by ID
  api_instance.rmm_alerts_id_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling RMMAlertApi->rmm_alerts_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::RMMAlertApi.new
id = 56 # Integer | 
mute_for = 'mute_for_example' # String | Length of time to mute alert for. Accepted values: '1-hour', '1-day', '2-days', '1-week', '2-weeks', '1-month', 'forever'


begin
  #Mutes an RMM Alert by ID
  api_instance.rmm_alerts_id_mute_post(id, mute_for)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling RMMAlertApi->rmm_alerts_id_mute_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::RMMAlertApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body30.new # Body30 | 
}

begin
  #Creates an RMM Alert
  api_instance.rmm_alerts_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling RMMAlertApi->rmm_alerts_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ScheduleApi.new
opts = { 
  customer_id: 56, # Integer | Returns a list of Schedules that belong to a Customer ID
  page: 56 # Integer | Returns provided page of results, each 'page' contains 25 results
}

begin
  #Returns a paginated list of Invoice Schedules
  api_instance.schedules_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ScheduleApi->schedules_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ScheduleApi.new
id = 56 # Integer | 
opts = { 
  body: nil # Object | 
}

begin
  #Adds a Line Item to an Invoice Schedule
  api_instance.schedules_id_add_line_item_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ScheduleApi->schedules_id_add_line_item_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ScheduleApi.new
id = 56 # Integer | 


begin
  #Deletes a Schedule by ID
  api_instance.schedules_id_delete(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ScheduleApi->schedules_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ScheduleApi.new
id = 56 # Integer | 


begin
  #Retrieves a Schedule by ID
  api_instance.schedules_id_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ScheduleApi->schedules_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ScheduleApi.new
id = 56 # Integer | 
schedule_line_item_id = 56 # Integer | ID of line item to update
opts = { 
  body: nil # Object | 
}

begin
  #Updates a Line Item
  api_instance.schedules_id_line_items_schedule_line_item_id_put(id, schedule_line_item_id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ScheduleApi->schedules_id_line_items_schedule_line_item_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ScheduleApi.new
id = 56 # Integer | 
opts = { 
  body: nil # Object | 
}

begin
  #Updates an existing Invoice Schedule by ID
  api_instance.schedules_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ScheduleApi->schedules_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ScheduleApi.new
id = 56 # Integer | 
opts = { 
  body: 56 # Integer | 
}

begin
  #Removes a Line Item from an Invoice Schedule
  api_instance.schedules_id_remove_line_item_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ScheduleApi->schedules_id_remove_line_item_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::ScheduleApi.new
opts = { 
  body: nil # Object | 
}

begin
  #Creates an Invoice Schedule
  api_instance.schedules_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling ScheduleApi->schedules_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::SearchApi.new
opts = { 
  query: 56 # Integer | Search query
}

begin
  #Search all the things
  api_instance.search_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling SearchApi->search_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::SettingApi.new

begin
  #Returns a list of Account Settings
  api_instance.settings_get
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling SettingApi->settings_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::SettingApi.new

begin
  #Returns Printing Settings
  api_instance.settings_printing_get
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling SettingApi->settings_printing_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::SettingApi.new

begin
  #Returns Tabs Settings
  api_instance.settings_tabs_get
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling SettingApi->settings_tabs_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
opts = { 
  customer_id: 56, # Integer | Any Ticket with customer_id equal to the parameter.
  contact_id: 56, # Integer | Any Ticket with contact_id equal to the parameter.
  number: 'number_example', # String | Any Ticket with number equal to the parameter.
  resolved_after: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Returns Tickets resolved after the date. Example \"2019-01-23\".
  created_after: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Returns Tickets created after the date. Example \"2019-02-25\".
  since_updated_at: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Returns Tickets updated after the date. Example \"2019-02-25\".
  status: 'status_example', # String | Any Ticket with status equal to the parameter. Examples \"New\", \"In Progress\", \"Resolved\", \"Invoiced\", \"Waiting for Parts\", \"Waiting on Customer\", \"Scheduled\", \"Customer Reply\", \"Not Closed\".
  query: 'query_example', # String | Search query
  user_id: 56, # Integer | Any Ticket assigned to a User ID
  mine: true, # BOOLEAN | Any Ticket assigned to the current user
  ticket_search_id: 56, # Integer | Returns results of a Ticket Search
  page: 56 # Integer | Returns provided page of results, each 'page' contains 25 results
}

begin
  #Returns a paginated list of Tickets
  api_instance.tickets_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body33.new # Body33 | 
}

begin
  #Creates a Ticket Line Item
  api_instance.tickets_id_add_line_item_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_id_add_line_item_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
id = 56 # Integer | 
opts = { 
  body: nil # Object | 
}

begin
  #Attach a file to a Ticket
  api_instance.tickets_id_attach_file_url_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_id_attach_file_url_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
id = 56 # Integer | 
opts = { 
  body: nil # Object | 
}

begin
  #Charges a Ticket Timer
  api_instance.tickets_id_charge_timer_entry_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_id_charge_timer_entry_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body31.new # Body31 | 
}

begin
  #Adds a Comment to a Ticket
  api_instance.tickets_id_comment_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_id_comment_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
id = 56 # Integer | 


begin
  #Deletes a Ticket by ID
  api_instance.tickets_id_delete(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body36.new # Body36 | 
}

begin
  #Deletes a Ticket Attachment
  api_instance.tickets_id_delete_attachment_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_id_delete_attachment_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
id = 56 # Integer | 
opts = { 
  body: nil # Object | 
}

begin
  #Deletes a Ticket Timer
  api_instance.tickets_id_delete_timer_entry_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_id_delete_timer_entry_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
id = 56 # Integer | 


begin
  #Retrieves a Ticket by ID
  api_instance.tickets_id_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
id = 56 # Integer | 


begin
  #Prints a Ticket by ID
  api_instance.tickets_id_print_post(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_id_print_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
id = 56 # Integer | 
opts = { 
  body: nil # Object | 
}

begin
  #Updates an existing Ticket by ID
  api_instance.tickets_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body34.new # Body34 | 
}

begin
  #Deletes a Ticket Line Item
  api_instance.tickets_id_remove_line_item_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_id_remove_line_item_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body32.new # Body32 | 
}

begin
  #Create a Ticket Timer for a Ticket
  api_instance.tickets_id_timer_entry_post(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_id_timer_entry_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body35.new # Body35 | 
}

begin
  #Updates an existing Ticket Line Item
  api_instance.tickets_id_update_line_item_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_id_update_line_item_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body37.new # Body37 | 
}

begin
  #Updates an existing Ticket Timer
  api_instance.tickets_id_update_timer_entry_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_id_update_timer_entry_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new
opts = { 
  body: nil # Object | 
}

begin
  #Creates a Ticket
  api_instance.tickets_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketApi.new

begin
  #Returns Tickets Settings
  api_instance.tickets_settings_get
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketApi->tickets_settings_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TicketTimerApi.new
opts = { 
  created_at_lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Returns Ticket Timers created before the date. Example \"2019-01-22\"
  created_at_gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Returns Ticket Timers created after the date. Example \"2019-12-22\"
  page: 56 # Integer | Returns provided page of results, each 'page' contains 25 results
}

begin
  #Returns a paginated list of Ticket Timers
  api_instance.ticket_timers_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TicketTimerApi->ticket_timers_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TimelogApi.new
opts = { 
  user_id: 56 # Integer | Returns Timelogs that belong to a User
}

begin
  #Returns a paginated list of Timelogs
  api_instance.timelogs_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TimelogApi->timelogs_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TimelogApi.new
opts = { 
  user_id: 56 # Integer | Returns Timelogs that belong to a User. The default is current user ID.
}

begin
  #Returns last Timelog
  api_instance.timelogs_last_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TimelogApi->timelogs_last_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::TimelogApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body38.new # Body38 | 
}

begin
  #Updates a Timelog
  api_instance.timelogs_put(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling TimelogApi->timelogs_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::UserApi.new

begin
  #Returns the current user
  api_instance.me_get
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling UserApi->me_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::UserApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body41.new # Body41 | Time-based one-time password from your authentication application.
}

begin
  #Authorize a User with One Time Password
  api_instance.otp_login_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling UserApi->otp_login_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::UserApi.new

begin
  #Returns a paginated list of Users
  api_instance.users_get
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling UserApi->users_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::UserApi.new
id = 56 # Integer | 


begin
  #Retrieves an existing User by ID
  api_instance.users_id_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling UserApi->users_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::UserDeviceApi.new
id = 56 # Integer | User Device UUID


begin
  #Retrieves an existing User Device by UUID
  api_instance.user_devices_id_get(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling UserDeviceApi->user_devices_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::UserDeviceApi.new
id = 56 # Integer | Device UUID
opts = { 
  body: WmSyncromspSwaggerClient::Body40.new # Body40 | 
}

begin
  #Updates an existing User Device by UUID
  api_instance.user_devices_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling UserDeviceApi->user_devices_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::UserDeviceApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body39.new # Body39 | 
}

begin
  #Creates a User Device
  api_instance.user_devices_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling UserDeviceApi->user_devices_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::VendorApi.new
opts = { 
  page: 56 # Integer | Returns provided page of results, each 'page' contains 100 result
}

begin
  #Returns a paginated list of Vendors
  api_instance.vendors_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling VendorApi->vendors_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::VendorApi.new
id = 56 # Integer | 


begin
  #Retrieves a Vendor Page
  result = api_instance.vendors_id_get(id)
  p result
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling VendorApi->vendors_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::VendorApi.new
id = 56 # Integer | 
opts = { 
  body: nil # Object | 
}

begin
  #Updates an existing Vendor page by ID
  api_instance.vendors_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling VendorApi->vendors_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::VendorApi.new
opts = { 
  body: nil # Object | 
}

begin
  #Creates a Vendor
  api_instance.vendors_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling VendorApi->vendors_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::WikiPageApi.new
opts = { 
  page: 56 # Integer | Returns provided page of results, each 'page' contains 100 result
}

begin
  #Returns a paginated list of Wiki Pages
  api_instance.wiki_pages_get(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling WikiPageApi->wiki_pages_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::WikiPageApi.new
id = 56 # Integer | 


begin
  #Deletes a Wiki Page by ID
  api_instance.wiki_pages_id_delete(id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling WikiPageApi->wiki_pages_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::WikiPageApi.new
id = 56 # Integer | 


begin
  #Retrieves a Wiki Page
  result = api_instance.wiki_pages_id_get(id)
  p result
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling WikiPageApi->wiki_pages_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::WikiPageApi.new
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body43.new # Body43 | Wiki Page object that needs to be updated
}

begin
  #Updates an existing Wiki Page by ID
  api_instance.wiki_pages_id_put(id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling WikiPageApi->wiki_pages_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::WikiPageApi.new
opts = { 
  body: WmSyncromspSwaggerClient::Body42.new # Body42 | Wiki Page object that needs to be added
}

begin
  #Creates a Wiki Page
  api_instance.wiki_pages_post(opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling WikiPageApi->wiki_pages_post: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::WorksheetResultApi.new
ticket_id = 56 # Integer | 
opts = { 
  page: 56 # Integer | Returns provided page of results, each 'page' contains 25 results
}

begin
  #Returns a paginated list of Worksheet Results
  api_instance.tickets_ticket_id_worksheet_results_get(ticket_id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling WorksheetResultApi->tickets_ticket_id_worksheet_results_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::WorksheetResultApi.new
ticket_id = 56 # Integer | 
id = 56 # Integer | 


begin
  #Deletes a Worksheet Result
  api_instance.tickets_ticket_id_worksheet_results_id_delete(ticket_id, id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling WorksheetResultApi->tickets_ticket_id_worksheet_results_id_delete: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::WorksheetResultApi.new
ticket_id = 56 # Integer | 
id = 56 # Integer | 


begin
  #Retrieves a Worksheet Result by ID
  api_instance.tickets_ticket_id_worksheet_results_id_get(ticket_id, id)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling WorksheetResultApi->tickets_ticket_id_worksheet_results_id_get: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::WorksheetResultApi.new
ticket_id = 56 # Integer | 
id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body45.new # Body45 | 
}

begin
  #Updates a Worksheet Result
  api_instance.tickets_ticket_id_worksheet_results_id_put(ticket_id, id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling WorksheetResultApi->tickets_ticket_id_worksheet_results_id_put: #{e}"
end
# Setup authorization
WmSyncromspSwaggerClient.configure do |config|
end

api_instance = WmSyncromspSwaggerClient::WorksheetResultApi.new
ticket_id = 56 # Integer | 
opts = { 
  body: WmSyncromspSwaggerClient::Body44.new # Body44 | 
}

begin
  #Creates Worksheet Result
  api_instance.tickets_ticket_id_worksheet_results_post(ticket_id, opts)
rescue WmSyncromspSwaggerClient::ApiError => e
  puts "Exception when calling WorksheetResultApi->tickets_ticket_id_worksheet_results_post: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://{subdomain}.syncromsp.com/api/v1

Class Method HTTP request Description
WmSyncromspSwaggerClient::AppointmentApi appointments_get GET /appointments Returns a paginated list of Appointments
WmSyncromspSwaggerClient::AppointmentApi appointments_id_delete DELETE /appointments/{id} Deletes an Appointment by ID
WmSyncromspSwaggerClient::AppointmentApi appointments_id_get GET /appointments/{id} Retrieves an Appointment by ID
WmSyncromspSwaggerClient::AppointmentApi appointments_id_put PUT /appointments/{id} Updates an existing Appointment by ID
WmSyncromspSwaggerClient::AppointmentApi appointments_post POST /appointments Creates an Appointment
WmSyncromspSwaggerClient::AppointmentTypeApi appointment_types_get GET /appointment_types Returns a paginated list of Appointment Types
WmSyncromspSwaggerClient::AppointmentTypeApi appointment_types_id_delete DELETE /appointment_types/{id} Deletes an Appointment Type by ID
WmSyncromspSwaggerClient::AppointmentTypeApi appointment_types_id_get GET /appointment_types/{id} Retrieves an Appointment Type by ID
WmSyncromspSwaggerClient::AppointmentTypeApi appointment_types_id_put PUT /appointment_types/{id} Updates an existing Appointment Type by ID
WmSyncromspSwaggerClient::AppointmentTypeApi appointment_types_post POST /appointment_types Creates an Appointment Type
WmSyncromspSwaggerClient::AssetApi customer_assets_get GET /customer_assets Returns a paginated list of Assets
WmSyncromspSwaggerClient::AssetApi customer_assets_id_get GET /customer_assets/{id} Retrieves an Asset by ID
WmSyncromspSwaggerClient::AssetApi customer_assets_id_put PUT /customer_assets/{id} Updates an existing Asset by ID
WmSyncromspSwaggerClient::AssetApi customer_assets_post POST /customer_assets Creates an Asset
WmSyncromspSwaggerClient::CallApi callerid_get GET /callerid Get Caller ID
WmSyncromspSwaggerClient::ContactApi contacts_get GET /contacts Returns a paginated list of Contacts
WmSyncromspSwaggerClient::ContactApi contacts_id_delete DELETE /contacts/{id} Deletes a Contact
WmSyncromspSwaggerClient::ContactApi contacts_id_get GET /contacts/{id} Retrieves a Contact by ID
WmSyncromspSwaggerClient::ContactApi contacts_id_put PUT /contacts/{id} Updates an existing Contact
WmSyncromspSwaggerClient::ContactApi contacts_post POST /contacts Creates a Contact
WmSyncromspSwaggerClient::ContractApi contracts_get GET /contracts Returns a paginated list of Contracts
WmSyncromspSwaggerClient::ContractApi contracts_id_delete DELETE /contracts/{id} Deletes a Contract by ID
WmSyncromspSwaggerClient::ContractApi contracts_id_get GET /contracts/{id} Retrieves a Contract by ID
WmSyncromspSwaggerClient::ContractApi contracts_id_put PUT /contracts/{id} Updates an existing Contract by ID
WmSyncromspSwaggerClient::ContractApi contracts_post POST /contracts Creates a Contract
WmSyncromspSwaggerClient::CustomerApi customers_autocomplete_get GET /customers/autocomplete Returns a paginated list of customers for autocomplete query
WmSyncromspSwaggerClient::CustomerApi customers_get GET /customers Returns a paginated list of customers
WmSyncromspSwaggerClient::CustomerApi customers_id_delete DELETE /customers/{id} Deletes a Customer by ID
WmSyncromspSwaggerClient::CustomerApi customers_id_get GET /customers/{id} Retrieves a Customer by ID
WmSyncromspSwaggerClient::CustomerApi customers_id_put PUT /customers/{id} Updates an existing Customer by ID
WmSyncromspSwaggerClient::CustomerApi customers_latest_get GET /customers/latest Returns latest Customer
WmSyncromspSwaggerClient::CustomerApi customers_post POST /customers Creates a Customer
WmSyncromspSwaggerClient::EstimateApi estimates_get GET /estimates Returns a paginated list of Estimates
WmSyncromspSwaggerClient::EstimateApi estimates_id_convert_to_invoice_post POST /estimates/{id}/convert_to_invoice Convert an Estimate to an Invoice
WmSyncromspSwaggerClient::EstimateApi estimates_id_delete DELETE /estimates/{id} Deletes an Estimate by ID
WmSyncromspSwaggerClient::EstimateApi estimates_id_email_post POST /estimates/{id}/email Sends an Estimate to a Customer
WmSyncromspSwaggerClient::EstimateApi estimates_id_get GET /estimates/{id} Retrieves an Estimate by ID or number
WmSyncromspSwaggerClient::EstimateApi estimates_id_line_items_line_item_id_delete DELETE /estimates/{id}/line_items/{line_item_id} Deletes a Line Item
WmSyncromspSwaggerClient::EstimateApi estimates_id_line_items_line_item_id_put PUT /estimates/{id}/line_items/{line_item_id} Updates a Line Item
WmSyncromspSwaggerClient::EstimateApi estimates_id_line_items_post POST /estimates/{id}/line_items Adds a Line Item to an Estimate
WmSyncromspSwaggerClient::EstimateApi estimates_id_print_post POST /estimates/{id}/print Queues a print job for an Estimate
WmSyncromspSwaggerClient::EstimateApi estimates_id_put PUT /estimates/{id} Updates an existing Estimate by ID
WmSyncromspSwaggerClient::EstimateApi estimates_post POST /estimates Creates an Estimate
WmSyncromspSwaggerClient::InvoiceApi invoices_get GET /invoices Returns a paginated list of Invoices
WmSyncromspSwaggerClient::InvoiceApi invoices_id_delete DELETE /invoices/{id} Deletes an invoice by ID
WmSyncromspSwaggerClient::InvoiceApi invoices_id_email_post POST /invoices/{id}/email Sends invoice to customer
WmSyncromspSwaggerClient::InvoiceApi invoices_id_get GET /invoices/{id} Retrieves an Invoice by ID or Number
WmSyncromspSwaggerClient::InvoiceApi invoices_id_print_post POST /invoices/{id}/print Queues a print job for an invoice
WmSyncromspSwaggerClient::InvoiceApi invoices_id_put PUT /invoices/{id} Updates an existing invoice by ID
WmSyncromspSwaggerClient::InvoiceApi invoices_id_ticket_get GET /invoices/{id}/ticket Returns the associated ticket for an invoice
WmSyncromspSwaggerClient::InvoiceApi invoices_post POST /invoices Creates an Invoice
WmSyncromspSwaggerClient::InvoiceLineItemApi invoices_id_line_items_line_item_id_delete DELETE /invoices/{id}/line_items/{line_item_id} Deletes an a line item of an invoice by ID
WmSyncromspSwaggerClient::InvoiceLineItemApi invoices_id_line_items_line_item_id_put PUT /invoices/{id}/line_items/{line_item_id} Updates an a line item of an invoice by ID
WmSyncromspSwaggerClient::InvoiceLineItemApi invoices_id_line_items_post POST /invoices/{id}/line_items Creates a new line item
WmSyncromspSwaggerClient::ItemApi items_get GET /items Returns a paginated list of Part Orders
WmSyncromspSwaggerClient::LeadApi leads_get GET /leads Returns a paginated list of Leads
WmSyncromspSwaggerClient::LeadApi leads_id_get GET /leads/{id} Retrieves a Lead by ID
WmSyncromspSwaggerClient::LeadApi leads_id_put PUT /leads/{id} Updates an existing Lead by ID
WmSyncromspSwaggerClient::LeadApi leads_post POST /leads Creates a Lead
WmSyncromspSwaggerClient::LineItemApi line_items_get GET /line_items Returns a paginated list of Line Items
WmSyncromspSwaggerClient::NewTicketFormApi new_ticket_forms_get GET /new_ticket_forms Returns a paginated list of Ticket Forms
WmSyncromspSwaggerClient::NewTicketFormApi new_ticket_forms_id_get GET /new_ticket_forms/{id} Retrieves a Ticket Form
WmSyncromspSwaggerClient::NewTicketFormApi new_ticket_forms_id_process_form_post POST /new_ticket_forms/{id}/process_form Creates a new Ticket for a Ticket Form
WmSyncromspSwaggerClient::PaymentApi payments_get GET /payments Returns a paginated list of Payments
WmSyncromspSwaggerClient::PaymentApi payments_id_get GET /payments/{id} Retrieves a Payment by ID
WmSyncromspSwaggerClient::PaymentApi payments_post POST /payments Creates a Payment
WmSyncromspSwaggerClient::PaymentMethodApi payment_methods_get GET /payment_methods Returns a paginated list of Payment Methods
WmSyncromspSwaggerClient::PaymentProfileApi customers_customer_id_payment_profiles_get GET /customers/{customer_id}/payment_profiles Returns a paginated list of Payment Profiles
WmSyncromspSwaggerClient::PaymentProfileApi customers_customer_id_payment_profiles_id_delete DELETE /customers/{customer_id}/payment_profiles/{id} Deletes a Payment Profile
WmSyncromspSwaggerClient::PaymentProfileApi customers_customer_id_payment_profiles_id_get GET /customers/{customer_id}/payment_profiles/{id} Retrieves a Payment Profile by ID
WmSyncromspSwaggerClient::PaymentProfileApi customers_customer_id_payment_profiles_id_put PUT /customers/{customer_id}/payment_profiles/{id} Updates a Payment Profile
WmSyncromspSwaggerClient::PaymentProfileApi customers_customer_id_payment_profiles_post POST /customers/{customer_id}/payment_profiles Creates a Payment Profile
WmSyncromspSwaggerClient::PhoneApi customers_customer_id_phones_get GET /customers/{customer_id}/phones Returns a paginated list of Phones
WmSyncromspSwaggerClient::PhoneApi customers_customer_id_phones_id_delete DELETE /customers/{customer_id}/phones/{id} Deletes a Phone by ID
WmSyncromspSwaggerClient::PhoneApi customers_customer_id_phones_id_put PUT /customers/{customer_id}/phones/{id} Updates an existing Phone by ID
WmSyncromspSwaggerClient::PhoneApi customers_customer_id_phones_post POST /customers/{customer_id}/phones Creates a Phone
WmSyncromspSwaggerClient::PortalUserApi portal_users_create_invitation_post POST /portal_users/create_invitation Creates an Invitation for a Portal User
WmSyncromspSwaggerClient::PortalUserApi portal_users_get GET /portal_users Returns a paginated list of Portal Users
WmSyncromspSwaggerClient::PortalUserApi portal_users_id_delete DELETE /portal_users/{id} Deletes a Portal User by ID
WmSyncromspSwaggerClient::PortalUserApi portal_users_id_put PUT /portal_users/{id} Updates an existing Portal User by ID
WmSyncromspSwaggerClient::PortalUserApi portal_users_post POST /portal_users Creates a Portal User
WmSyncromspSwaggerClient::ProductApi products_barcode_get GET /products/barcode Returns a Product by Barcode
WmSyncromspSwaggerClient::ProductApi products_categories_get GET /products/categories Returns a paginated list of Product Categories
WmSyncromspSwaggerClient::ProductApi products_get GET /products Returns a paginated list of Products
WmSyncromspSwaggerClient::ProductApi products_id_add_images_post POST /products/{id}/add_images Creates a Product Image
WmSyncromspSwaggerClient::ProductApi products_id_delete_image_delete DELETE /products/{id}/delete_image Deletes a Product Image
WmSyncromspSwaggerClient::ProductApi products_id_get GET /products/{id} Retrieves a Product by ID
WmSyncromspSwaggerClient::ProductApi products_id_location_quantities_put PUT /products/{id}/location_quantities Updates a Location Quantity
WmSyncromspSwaggerClient::ProductApi products_id_put PUT /products/{id} Updates an existing Product by ID
WmSyncromspSwaggerClient::ProductApi products_post POST /products Creates a Product
WmSyncromspSwaggerClient::ProductSerialApi products_product_id_product_serials_attach_to_line_item_post POST /products/{product_id}/product_serials/attach_to_line_item Adds Product Serials to a Line Item
WmSyncromspSwaggerClient::ProductSerialApi products_product_id_product_serials_get GET /products/{product_id}/product_serials Returns a paginated list of Product_serials
WmSyncromspSwaggerClient::ProductSerialApi products_product_id_product_serials_id_put PUT /products/{product_id}/product_serials/{id} Updates an existing Product Serial by ID
WmSyncromspSwaggerClient::ProductSerialApi products_product_id_product_serials_post POST /products/{product_id}/product_serials Creates a Product Serial
WmSyncromspSwaggerClient::PurchaseOrderApi purchase_orders_get GET /purchase_orders Returns a paginated list of Purchase Orders
WmSyncromspSwaggerClient::PurchaseOrderApi purchase_orders_id_create_po_line_item_post POST /purchase_orders/{id}/create_po_line_item Adds a Product to a Purchase Order
WmSyncromspSwaggerClient::PurchaseOrderApi purchase_orders_id_get GET /purchase_orders/{id} Retrieves a Purchase Order by ID
WmSyncromspSwaggerClient::PurchaseOrderApi purchase_orders_id_receive_post POST /purchase_orders/{id}/receive receive purchase_order
WmSyncromspSwaggerClient::PurchaseOrderApi purchase_orders_post POST /purchase_orders Creates a Purchase Order
WmSyncromspSwaggerClient::RMMAlertApi rmm_alerts_get GET /rmm_alerts Returns a paginated list of RMM Alerts
WmSyncromspSwaggerClient::RMMAlertApi rmm_alerts_id_delete DELETE /rmm_alerts/{id} Deletes/Clears an RMM Alert by ID
WmSyncromspSwaggerClient::RMMAlertApi rmm_alerts_id_get GET /rmm_alerts/{id} Retrieves an RMM Alert by ID
WmSyncromspSwaggerClient::RMMAlertApi rmm_alerts_id_mute_post POST /rmm_alerts/{id}/mute Mutes an RMM Alert by ID
WmSyncromspSwaggerClient::RMMAlertApi rmm_alerts_post POST /rmm_alerts Creates an RMM Alert
WmSyncromspSwaggerClient::ScheduleApi schedules_get GET /schedules Returns a paginated list of Invoice Schedules
WmSyncromspSwaggerClient::ScheduleApi schedules_id_add_line_item_post POST /schedules/{id}/add_line_item Adds a Line Item to an Invoice Schedule
WmSyncromspSwaggerClient::ScheduleApi schedules_id_delete DELETE /schedules/{id} Deletes a Schedule by ID
WmSyncromspSwaggerClient::ScheduleApi schedules_id_get GET /schedules/{id} Retrieves a Schedule by ID
WmSyncromspSwaggerClient::ScheduleApi schedules_id_line_items_schedule_line_item_id_put PUT /schedules/{id}/line_items/{schedule_line_item_id} Updates a Line Item
WmSyncromspSwaggerClient::ScheduleApi schedules_id_put PUT /schedules/{id} Updates an existing Invoice Schedule by ID
WmSyncromspSwaggerClient::ScheduleApi schedules_id_remove_line_item_post POST /schedules/{id}/remove_line_item Removes a Line Item from an Invoice Schedule
WmSyncromspSwaggerClient::ScheduleApi schedules_post POST /schedules Creates an Invoice Schedule
WmSyncromspSwaggerClient::SearchApi search_get GET /search Search all the things
WmSyncromspSwaggerClient::SettingApi settings_get GET /settings Returns a list of Account Settings
WmSyncromspSwaggerClient::SettingApi settings_printing_get GET /settings/printing Returns Printing Settings
WmSyncromspSwaggerClient::SettingApi settings_tabs_get GET /settings/tabs Returns Tabs Settings
WmSyncromspSwaggerClient::TicketApi tickets_get GET /tickets Returns a paginated list of Tickets
WmSyncromspSwaggerClient::TicketApi tickets_id_add_line_item_post POST /tickets/{id}/add_line_item Creates a Ticket Line Item
WmSyncromspSwaggerClient::TicketApi tickets_id_attach_file_url_post POST /tickets/{id}/attach_file_url Attach a file to a Ticket
WmSyncromspSwaggerClient::TicketApi tickets_id_charge_timer_entry_post POST /tickets/{id}/charge_timer_entry Charges a Ticket Timer
WmSyncromspSwaggerClient::TicketApi tickets_id_comment_post POST /tickets/{id}/comment Adds a Comment to a Ticket
WmSyncromspSwaggerClient::TicketApi tickets_id_delete DELETE /tickets/{id} Deletes a Ticket by ID
WmSyncromspSwaggerClient::TicketApi tickets_id_delete_attachment_post POST /tickets/{id}/delete_attachment Deletes a Ticket Attachment
WmSyncromspSwaggerClient::TicketApi tickets_id_delete_timer_entry_post POST /tickets/{id}/delete_timer_entry Deletes a Ticket Timer
WmSyncromspSwaggerClient::TicketApi tickets_id_get GET /tickets/{id} Retrieves a Ticket by ID
WmSyncromspSwaggerClient::TicketApi tickets_id_print_post POST /tickets/{id}/print Prints a Ticket by ID
WmSyncromspSwaggerClient::TicketApi tickets_id_put PUT /tickets/{id} Updates an existing Ticket by ID
WmSyncromspSwaggerClient::TicketApi tickets_id_remove_line_item_post POST /tickets/{id}/remove_line_item Deletes a Ticket Line Item
WmSyncromspSwaggerClient::TicketApi tickets_id_timer_entry_post POST /tickets/{id}/timer_entry Create a Ticket Timer for a Ticket
WmSyncromspSwaggerClient::TicketApi tickets_id_update_line_item_put PUT /tickets/{id}/update_line_item Updates an existing Ticket Line Item
WmSyncromspSwaggerClient::TicketApi tickets_id_update_timer_entry_put PUT /tickets/{id}/update_timer_entry Updates an existing Ticket Timer
WmSyncromspSwaggerClient::TicketApi tickets_post POST /tickets Creates a Ticket
WmSyncromspSwaggerClient::TicketApi tickets_settings_get GET /tickets/settings Returns Tickets Settings
WmSyncromspSwaggerClient::TicketTimerApi ticket_timers_get GET /ticket_timers Returns a paginated list of Ticket Timers
WmSyncromspSwaggerClient::TimelogApi timelogs_get GET /timelogs Returns a paginated list of Timelogs
WmSyncromspSwaggerClient::TimelogApi timelogs_last_get GET /timelogs/last Returns last Timelog
WmSyncromspSwaggerClient::TimelogApi timelogs_put PUT /timelogs Updates a Timelog
WmSyncromspSwaggerClient::UserApi me_get GET /me Returns the current user
WmSyncromspSwaggerClient::UserApi otp_login_post POST /otp_login Authorize a User with One Time Password
WmSyncromspSwaggerClient::UserApi users_get GET /users Returns a paginated list of Users
WmSyncromspSwaggerClient::UserApi users_id_get GET /users/{id} Retrieves an existing User by ID
WmSyncromspSwaggerClient::UserDeviceApi user_devices_id_get GET /user_devices/{id} Retrieves an existing User Device by UUID
WmSyncromspSwaggerClient::UserDeviceApi user_devices_id_put PUT /user_devices/{id} Updates an existing User Device by UUID
WmSyncromspSwaggerClient::UserDeviceApi user_devices_post POST /user_devices Creates a User Device
WmSyncromspSwaggerClient::VendorApi vendors_get GET /vendors Returns a paginated list of Vendors
WmSyncromspSwaggerClient::VendorApi vendors_id_get GET /vendors/{id} Retrieves a Vendor Page
WmSyncromspSwaggerClient::VendorApi vendors_id_put PUT /vendors/{id} Updates an existing Vendor page by ID
WmSyncromspSwaggerClient::VendorApi vendors_post POST /vendors Creates a Vendor
WmSyncromspSwaggerClient::WikiPageApi wiki_pages_get GET /wiki_pages Returns a paginated list of Wiki Pages
WmSyncromspSwaggerClient::WikiPageApi wiki_pages_id_delete DELETE /wiki_pages/{id} Deletes a Wiki Page by ID
WmSyncromspSwaggerClient::WikiPageApi wiki_pages_id_get GET /wiki_pages/{id} Retrieves a Wiki Page
WmSyncromspSwaggerClient::WikiPageApi wiki_pages_id_put PUT /wiki_pages/{id} Updates an existing Wiki Page by ID
WmSyncromspSwaggerClient::WikiPageApi wiki_pages_post POST /wiki_pages Creates a Wiki Page
WmSyncromspSwaggerClient::WorksheetResultApi tickets_ticket_id_worksheet_results_get GET /tickets/{ticket_id}/worksheet_results Returns a paginated list of Worksheet Results
WmSyncromspSwaggerClient::WorksheetResultApi tickets_ticket_id_worksheet_results_id_delete DELETE /tickets/{ticket_id}/worksheet_results/{id} Deletes a Worksheet Result
WmSyncromspSwaggerClient::WorksheetResultApi tickets_ticket_id_worksheet_results_id_get GET /tickets/{ticket_id}/worksheet_results/{id} Retrieves a Worksheet Result by ID
WmSyncromspSwaggerClient::WorksheetResultApi tickets_ticket_id_worksheet_results_id_put PUT /tickets/{ticket_id}/worksheet_results/{id} Updates a Worksheet Result
WmSyncromspSwaggerClient::WorksheetResultApi tickets_ticket_id_worksheet_results_post POST /tickets/{ticket_id}/worksheet_results Creates Worksheet Result

Documentation for Models

Documentation for Authorization

bearerAuth

About

Auto-generated OpenAPI client for SyncroMSP API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published