Ruby API wrapper for the Autotask WebService API
client = AutotaskAPI::Client.new do |c|
c.basic_auth = ['[email protected]','mypassword']
c.wsdl = 'https://webservices.autotask.net/atservices/1.5/atws.wsdl'
end
query = AutotaskAPI::QueryXML.new do |query|
query.entity = 'contact'
query.field = 'firstname'
query.expression = 'Joe'
end
client.query query