module Ruconomic::API::Department
Public Class Methods
Creates a new department.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_Create @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 83 def self.create response = invoke('Department_Create') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Creates a new department from a data object. Parameters: data: The data object that specifies the properties of the new department.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_CreateFromData @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 12 def self.create_from_data response = invoke('Department_CreateFromData') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Creates new departments from data objects. Parameters: dataArray: The array of data objects that specifies the properties of the new departments.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_CreateFromDataArray @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 24 def self.create_from_data_array response = invoke('Department_CreateFromDataArray') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Deletes a department. Parameters: departmentHandle: Handle for the department.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_Delete @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 153 def self.delete response = invoke('Department_Delete') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Returns a handle for the department with a given name. Parameters: name: The name to search for.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_FindByName @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 130 def self.find_by_name response = invoke('Department_FindByName') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Returns a handle for the department with the given number. Parameters: number: The number to search for.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_FindByNumber @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 106 def self.find_by_number response = invoke('Department_FindByNumber') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Returns an array with handles for the departments corresponding to the given numbers. If a department with a given number does not exist then the array contains nothing at that index. Parameters: numbers: The numbers to search for.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_FindByNumberList @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 118 def self.find_by_number_list response = invoke('Department_FindByNumberList') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Returns handles for all departments.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_GetAll @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 94 def self.get_all response = invoke('Department_GetAll') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Return handles for all departments from date. fromDate is based on CET. includeCalculatedProperties is reserved for future usage and should be set to false for now.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_GetAllUpdated @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 141 def self.get_all_updated response = invoke('Department_GetAllUpdated') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Returns a department data object for a given department. Parameters: entityHandle: A handle for the department.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_GetData @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 60 def self.get_data response = invoke('Department_GetData') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Returns department data objects for a given set of department handles. Parameters: entityHandles: An array of the department handles.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_GetDataArray @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 72 def self.get_data_array response = invoke('Department_GetDataArray') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Gets the name of a department. Parameters: departmentHandle: Handle for the department.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_GetName @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 177 def self.get_name response = invoke('Department_GetName') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Gets the number of a department. Parameters: departmentHandle: Handle for the department.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_GetNumber @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 165 def self.get_number response = invoke('Department_GetNumber') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Sets the name of a department. Parameters: departmentHandle: Handle for the department. value: The new name for the department.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_SetName @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 189 def self.set_name response = invoke('Department_SetName') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Updates a department from a data object. Parameters: data: The data object.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_UpdateFromData @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 48 def self.update_from_data response = invoke('Department_UpdateFromData') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end
Update departments from data objects. Parameters: dataArray: The array of data objects.
@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_UpdateFromDataArray @return [Hash] The body content of the SOAP
response.
# File lib/ruconomic/api/department.rb, line 36 def self.update_from_data_array response = invoke('Department_UpdateFromDataArray') do |message| raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing" end end