ruconomic 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +100 -0
- data/Rakefile +2 -0
- data/lib/ruconomic/api/account.rb +520 -0
- data/lib/ruconomic/api/accounting_period.rb +113 -0
- data/lib/ruconomic/api/accounting_year.rb +161 -0
- data/lib/ruconomic/api/activity.rb +90 -0
- data/lib/ruconomic/api/bank_payment_type.rb +103 -0
- data/lib/ruconomic/api/budget_figure.rb +343 -0
- data/lib/ruconomic/api/cash_book.rb +232 -0
- data/lib/ruconomic/api/cash_book_entry.rb +716 -0
- data/lib/ruconomic/api/company.rb +294 -0
- data/lib/ruconomic/api/cost_type.rb +138 -0
- data/lib/ruconomic/api/cost_type_group.rb +115 -0
- data/lib/ruconomic/api/creditor.rb +688 -0
- data/lib/ruconomic/api/creditor_contact.rb +269 -0
- data/lib/ruconomic/api/creditor_entry.rb +235 -0
- data/lib/ruconomic/api/creditor_group.rb +208 -0
- data/lib/ruconomic/api/currency.rb +67 -0
- data/lib/ruconomic/api/current_invoice.rb +1110 -0
- data/lib/ruconomic/api/current_invoice_line.rb +440 -0
- data/lib/ruconomic/api/current_supplier_invoice.rb +115 -0
- data/lib/ruconomic/api/current_supplier_invoice_line.rb +92 -0
- data/lib/ruconomic/api/debtor.rb +978 -0
- data/lib/ruconomic/api/debtor_contact.rb +328 -0
- data/lib/ruconomic/api/debtor_entry.rb +223 -0
- data/lib/ruconomic/api/debtor_group.rb +232 -0
- data/lib/ruconomic/api/delivery_location.rb +341 -0
- data/lib/ruconomic/api/department.rb +197 -0
- data/lib/ruconomic/api/distribution_key.rb +187 -0
- data/lib/ruconomic/api/document_archive_category.rb +163 -0
- data/lib/ruconomic/api/employee.rb +421 -0
- data/lib/ruconomic/api/employee_group.rb +199 -0
- data/lib/ruconomic/api/entry.rb +318 -0
- data/lib/ruconomic/api/extended_vat_zone.rb +79 -0
- data/lib/ruconomic/api/inventory_location.rb +91 -0
- data/lib/ruconomic/api/invoice.rb +655 -0
- data/lib/ruconomic/api/invoice_line.rb +248 -0
- data/lib/ruconomic/api/key_figure_code.rb +103 -0
- data/lib/ruconomic/api/mileage_entry.rb +319 -0
- data/lib/ruconomic/api/order.rb +1169 -0
- data/lib/ruconomic/api/order_line.rb +451 -0
- data/lib/ruconomic/api/price_group.rb +200 -0
- data/lib/ruconomic/api/product.rb +533 -0
- data/lib/ruconomic/api/product_group.rb +271 -0
- data/lib/ruconomic/api/product_price.rb +164 -0
- data/lib/ruconomic/api/project.rb +449 -0
- data/lib/ruconomic/api/project_group.rb +113 -0
- data/lib/ruconomic/api/quotation.rb +1145 -0
- data/lib/ruconomic/api/quotation_line.rb +451 -0
- data/lib/ruconomic/api/report_code.rb +78 -0
- data/lib/ruconomic/api/report_code_set.rb +89 -0
- data/lib/ruconomic/api/scanned_document.rb +175 -0
- data/lib/ruconomic/api/subscriber.rb +475 -0
- data/lib/ruconomic/api/subscription.rb +375 -0
- data/lib/ruconomic/api/subscription_line.rb +307 -0
- data/lib/ruconomic/api/sum_interval.rb +164 -0
- data/lib/ruconomic/api/template_collection.rb +78 -0
- data/lib/ruconomic/api/term_of_payment.rb +307 -0
- data/lib/ruconomic/api/time_entry.rb +258 -0
- data/lib/ruconomic/api/unit.rb +187 -0
- data/lib/ruconomic/api/vat_account.rb +151 -0
- data/lib/ruconomic/api.rb +79 -0
- data/lib/ruconomic/fault.rb +17 -0
- data/lib/ruconomic/soap/document.rb +79 -0
- data/lib/ruconomic/soap/node.rb +24 -0
- data/lib/ruconomic/soap.rb +7 -0
- data/lib/ruconomic/version.rb +3 -0
- data/lib/ruconomic/web_service.rb +50 -0
- data/lib/ruconomic.rb +42 -0
- data/ruconomic.gemspec +27 -0
- metadata +202 -0
@@ -0,0 +1,197 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module Department
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Creates a new department from a data object.
|
7
|
+
# Parameters: data: The data object that specifies the properties of the new department.
|
8
|
+
#
|
9
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
10
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_CreateFromData
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.create_from_data
|
13
|
+
response = invoke('Department_CreateFromData') do |message|
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
# Creates new departments from data objects.
|
19
|
+
# Parameters: dataArray: The array of data objects that specifies the properties of the new departments.
|
20
|
+
#
|
21
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
22
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_CreateFromDataArray
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.create_from_data_array
|
25
|
+
response = invoke('Department_CreateFromDataArray') do |message|
|
26
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
# Update departments from data objects.
|
31
|
+
# Parameters: dataArray: The array of data objects.
|
32
|
+
#
|
33
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
34
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_UpdateFromDataArray
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.update_from_data_array
|
37
|
+
response = invoke('Department_UpdateFromDataArray') do |message|
|
38
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
# Updates a department from a data object.
|
43
|
+
# Parameters: data: The data object.
|
44
|
+
#
|
45
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
46
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_UpdateFromData
|
47
|
+
# @return [Hash] The body content of the SOAP response.
|
48
|
+
def self.update_from_data
|
49
|
+
response = invoke('Department_UpdateFromData') do |message|
|
50
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# Returns a department data object for a given department.
|
55
|
+
# Parameters: entityHandle: A handle for the department.
|
56
|
+
#
|
57
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
58
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_GetData
|
59
|
+
# @return [Hash] The body content of the SOAP response.
|
60
|
+
def self.get_data
|
61
|
+
response = invoke('Department_GetData') do |message|
|
62
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
# Returns department data objects for a given set of department handles.
|
67
|
+
# Parameters: entityHandles: An array of the department handles.
|
68
|
+
#
|
69
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
70
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_GetDataArray
|
71
|
+
# @return [Hash] The body content of the SOAP response.
|
72
|
+
def self.get_data_array
|
73
|
+
response = invoke('Department_GetDataArray') do |message|
|
74
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# Creates a new department.
|
79
|
+
#
|
80
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
81
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_Create
|
82
|
+
# @return [Hash] The body content of the SOAP response.
|
83
|
+
def self.create
|
84
|
+
response = invoke('Department_Create') do |message|
|
85
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
# Returns handles for all departments.
|
90
|
+
#
|
91
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
92
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_GetAll
|
93
|
+
# @return [Hash] The body content of the SOAP response.
|
94
|
+
def self.get_all
|
95
|
+
response = invoke('Department_GetAll') do |message|
|
96
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# Returns a handle for the department with the given number.
|
101
|
+
# Parameters: number: The number to search for.
|
102
|
+
#
|
103
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
104
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_FindByNumber
|
105
|
+
# @return [Hash] The body content of the SOAP response.
|
106
|
+
def self.find_by_number
|
107
|
+
response = invoke('Department_FindByNumber') do |message|
|
108
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
# 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.
|
113
|
+
# Parameters: numbers: The numbers to search for.
|
114
|
+
#
|
115
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
116
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_FindByNumberList
|
117
|
+
# @return [Hash] The body content of the SOAP response.
|
118
|
+
def self.find_by_number_list
|
119
|
+
response = invoke('Department_FindByNumberList') do |message|
|
120
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
# Returns a handle for the department with a given name.
|
125
|
+
# Parameters: name: The name to search for.
|
126
|
+
#
|
127
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
128
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_FindByName
|
129
|
+
# @return [Hash] The body content of the SOAP response.
|
130
|
+
def self.find_by_name
|
131
|
+
response = invoke('Department_FindByName') do |message|
|
132
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
# 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.
|
137
|
+
#
|
138
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
139
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_GetAllUpdated
|
140
|
+
# @return [Hash] The body content of the SOAP response.
|
141
|
+
def self.get_all_updated
|
142
|
+
response = invoke('Department_GetAllUpdated') do |message|
|
143
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
# Deletes a department.
|
148
|
+
# Parameters: departmentHandle: Handle for the department.
|
149
|
+
#
|
150
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
151
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_Delete
|
152
|
+
# @return [Hash] The body content of the SOAP response.
|
153
|
+
def self.delete
|
154
|
+
response = invoke('Department_Delete') do |message|
|
155
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# Gets the number of a department.
|
160
|
+
# Parameters: departmentHandle: Handle for the department.
|
161
|
+
#
|
162
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
163
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_GetNumber
|
164
|
+
# @return [Hash] The body content of the SOAP response.
|
165
|
+
def self.get_number
|
166
|
+
response = invoke('Department_GetNumber') do |message|
|
167
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
# Gets the name of a department.
|
172
|
+
# Parameters: departmentHandle: Handle for the department.
|
173
|
+
#
|
174
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
175
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_GetName
|
176
|
+
# @return [Hash] The body content of the SOAP response.
|
177
|
+
def self.get_name
|
178
|
+
response = invoke('Department_GetName') do |message|
|
179
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
# Sets the name of a department.
|
184
|
+
# Parameters: departmentHandle: Handle for the department. value: The new name for the department.
|
185
|
+
#
|
186
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
187
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Department_SetName
|
188
|
+
# @return [Hash] The body content of the SOAP response.
|
189
|
+
def self.set_name
|
190
|
+
response = invoke('Department_SetName') do |message|
|
191
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
end
|
196
|
+
end
|
197
|
+
end
|
@@ -0,0 +1,187 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module DistributionKey
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Update distribution keys from data objects.
|
7
|
+
# Parameters: dataArray: The array of data objects.
|
8
|
+
#
|
9
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
10
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_UpdateFromDataArray
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.update_from_data_array
|
13
|
+
response = invoke('DistributionKey_UpdateFromDataArray') do |message|
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
# Updates a distribution key from a data object.
|
19
|
+
# Parameters: data: The data object.
|
20
|
+
#
|
21
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
22
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_UpdateFromData
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.update_from_data
|
25
|
+
response = invoke('DistributionKey_UpdateFromData') do |message|
|
26
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
# Returns a distribution key data object for a given distribution key.
|
31
|
+
# Parameters: entityHandle: A handle for the distribution key.
|
32
|
+
#
|
33
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
34
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_GetData
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.get_data
|
37
|
+
response = invoke('DistributionKey_GetData') do |message|
|
38
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
# Returns distribution key data objects for a given set of distribution key handles.
|
43
|
+
# Parameters: entityHandles: An array of the distribution key handles.
|
44
|
+
#
|
45
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
46
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_GetDataArray
|
47
|
+
# @return [Hash] The body content of the SOAP response.
|
48
|
+
def self.get_data_array
|
49
|
+
response = invoke('DistributionKey_GetDataArray') do |message|
|
50
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# Return handles for all distributions keys.
|
55
|
+
#
|
56
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
57
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_GetAll
|
58
|
+
# @return [Hash] The body content of the SOAP response.
|
59
|
+
def self.get_all
|
60
|
+
response = invoke('DistributionKey_GetAll') do |message|
|
61
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# Returns a handle for the distribution key with the given number.
|
66
|
+
# Parameters: number: The number to search for.
|
67
|
+
#
|
68
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
69
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_FindByNumber
|
70
|
+
# @return [Hash] The body content of the SOAP response.
|
71
|
+
def self.find_by_number
|
72
|
+
response = invoke('DistributionKey_FindByNumber') do |message|
|
73
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# Returns an array with handles for the distribution keys corresponding to the given numbers. If a distribution key with a given number does not exist then the array contains nothing at that index.
|
78
|
+
# Parameters: numbers: The numbers to search for.
|
79
|
+
#
|
80
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
81
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_FindByNumberList
|
82
|
+
# @return [Hash] The body content of the SOAP response.
|
83
|
+
def self.find_by_number_list
|
84
|
+
response = invoke('DistributionKey_FindByNumberList') do |message|
|
85
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
# Returns handles for the distribution keys with the given name.
|
90
|
+
# Parameters: name: The name to search for.
|
91
|
+
#
|
92
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
93
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_FindByName
|
94
|
+
# @return [Hash] The body content of the SOAP response.
|
95
|
+
def self.find_by_name
|
96
|
+
response = invoke('DistributionKey_FindByName') do |message|
|
97
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
# Gets the departments of a distribution key.
|
102
|
+
# Parameters: distributionKeyHandle: Handle for the distribution key.
|
103
|
+
#
|
104
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
105
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_GetDepartments
|
106
|
+
# @return [Hash] The body content of the SOAP response.
|
107
|
+
def self.get_departments
|
108
|
+
response = invoke('DistributionKey_GetDepartments') do |message|
|
109
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# Gets the percentage distributions for the departments of a distribution key.
|
114
|
+
# Parameters: distributionKeyHandle: Handle for the distribution key.
|
115
|
+
#
|
116
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
117
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_GetPercentages
|
118
|
+
# @return [Hash] The body content of the SOAP response.
|
119
|
+
def self.get_percentages
|
120
|
+
response = invoke('DistributionKey_GetPercentages') do |message|
|
121
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# Gets the number of a distribution key.
|
126
|
+
# Parameters: distributionKeyHandle: Handle for the distribution key.
|
127
|
+
#
|
128
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
129
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_GetNumber
|
130
|
+
# @return [Hash] The body content of the SOAP response.
|
131
|
+
def self.get_number
|
132
|
+
response = invoke('DistributionKey_GetNumber') do |message|
|
133
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
# Gets the name of a distribution key.
|
138
|
+
# Parameters: distributionKeyHandle: Handle for the distribution key.
|
139
|
+
#
|
140
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
141
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_GetName
|
142
|
+
# @return [Hash] The body content of the SOAP response.
|
143
|
+
def self.get_name
|
144
|
+
response = invoke('DistributionKey_GetName') do |message|
|
145
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# Sets the name of a distribution key.
|
150
|
+
# Parameters: distributionKeyHandle: Handle for the distribution key. value: The new name of the distribution key.
|
151
|
+
#
|
152
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
153
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_SetName
|
154
|
+
# @return [Hash] The body content of the SOAP response.
|
155
|
+
def self.set_name
|
156
|
+
response = invoke('DistributionKey_SetName') do |message|
|
157
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
# Gets whether a distributionkey is accessible.
|
162
|
+
# Parameters: accountHandle: Handle for the account.
|
163
|
+
#
|
164
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
165
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_GetIsAccessible
|
166
|
+
# @return [Hash] The body content of the SOAP response.
|
167
|
+
def self.get_is_accessible
|
168
|
+
response = invoke('DistributionKey_GetIsAccessible') do |message|
|
169
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
# Sets whether a distributionkey is accessible.
|
174
|
+
# Parameters: accountHandle: Handle for the account. value: Value that indicates whether the account should be accessible.
|
175
|
+
#
|
176
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
177
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DistributionKey_SetIsAccessible
|
178
|
+
# @return [Hash] The body content of the SOAP response.
|
179
|
+
def self.set_is_accessible
|
180
|
+
response = invoke('DistributionKey_SetIsAccessible') do |message|
|
181
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
end
|
186
|
+
end
|
187
|
+
end
|
@@ -0,0 +1,163 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module DocumentArchiveCategory
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Update DocumentArchiveCategories from data objects.
|
7
|
+
# Parameters: dataArray: The array of data objects.
|
8
|
+
#
|
9
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
10
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DocumentArchiveCategory_UpdateFromDataArray
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.update_from_data_array
|
13
|
+
response = invoke('DocumentArchiveCategory_UpdateFromDataArray') do |message|
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
# Updates a DocumentArchiveCategory from a data object.
|
19
|
+
# Parameters: data: The data object.
|
20
|
+
#
|
21
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
22
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DocumentArchiveCategory_UpdateFromData
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.update_from_data
|
25
|
+
response = invoke('DocumentArchiveCategory_UpdateFromData') do |message|
|
26
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
# Returns a DocumentArchiveCategory data object for a given DocumentArchiveCategory.
|
31
|
+
# Parameters: entityHandle: A handle for the DocumentArchiveCategory.
|
32
|
+
#
|
33
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
34
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DocumentArchiveCategory_GetData
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.get_data
|
37
|
+
response = invoke('DocumentArchiveCategory_GetData') do |message|
|
38
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
# Returns DocumentArchiveCategory data objects for a given set of DocumentArchiveCategory handles.
|
43
|
+
# Parameters: entityHandles: An array of the DocumentArchiveCategory handles.
|
44
|
+
#
|
45
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
46
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DocumentArchiveCategory_GetDataArray
|
47
|
+
# @return [Hash] The body content of the SOAP response.
|
48
|
+
def self.get_data_array
|
49
|
+
response = invoke('DocumentArchiveCategory_GetDataArray') do |message|
|
50
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# Creates a new DocumentArchiveCategory.
|
55
|
+
# Parameters: number: The number of the new DocumentArchiveCategory. name: The name of the new DocumentArchiveCategory.
|
56
|
+
#
|
57
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
58
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DocumentArchiveCategory_Create
|
59
|
+
# @return [Hash] The body content of the SOAP response.
|
60
|
+
def self.create
|
61
|
+
response = invoke('DocumentArchiveCategory_Create') do |message|
|
62
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
# Returns handles for all DocumentArchiveCategories.
|
67
|
+
#
|
68
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
69
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DocumentArchiveCategory_GetAll
|
70
|
+
# @return [Hash] The body content of the SOAP response.
|
71
|
+
def self.get_all
|
72
|
+
response = invoke('DocumentArchiveCategory_GetAll') do |message|
|
73
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# Returns a handle for the scanned document with a given number.
|
78
|
+
# Parameters: number: The number to search for.
|
79
|
+
#
|
80
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
81
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DocumentArchiveCategory_FindByNumber
|
82
|
+
# @return [Hash] The body content of the SOAP response.
|
83
|
+
def self.find_by_number
|
84
|
+
response = invoke('DocumentArchiveCategory_FindByNumber') do |message|
|
85
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
# Returns handles for the document archive categories with a given name.
|
90
|
+
# Parameter: name: The name to search for.
|
91
|
+
#
|
92
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
93
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DocumentArchiveCategory_FindByName
|
94
|
+
# @return [Hash] The body content of the SOAP response.
|
95
|
+
def self.find_by_name
|
96
|
+
response = invoke('DocumentArchiveCategory_FindByName') do |message|
|
97
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
# Gets all documents in this category.
|
102
|
+
# Parameters: invoiceHandle: Handle for the DocumentArchiveCategory.
|
103
|
+
#
|
104
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
105
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DocumentArchiveCategory_GetDocuments
|
106
|
+
# @return [Hash] The body content of the SOAP response.
|
107
|
+
def self.get_documents
|
108
|
+
response = invoke('DocumentArchiveCategory_GetDocuments') do |message|
|
109
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# Deletes a category.
|
114
|
+
# Parameters: documentArchiveCategoryHandle: Handle for the category.
|
115
|
+
#
|
116
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
117
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DocumentArchiveCategory_Delete
|
118
|
+
# @return [Hash] The body content of the SOAP response.
|
119
|
+
def self.delete
|
120
|
+
response = invoke('DocumentArchiveCategory_Delete') do |message|
|
121
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# Gets the number of a DocumentArchiveCategory.
|
126
|
+
# Parameters: DocumentArchiveCategoryHandle: Handle for the DocumentArchiveCategory.
|
127
|
+
#
|
128
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
129
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DocumentArchiveCategory_GetNumber
|
130
|
+
# @return [Hash] The body content of the SOAP response.
|
131
|
+
def self.get_number
|
132
|
+
response = invoke('DocumentArchiveCategory_GetNumber') do |message|
|
133
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
# Gets the name of a DocumentArchiveCategory.
|
138
|
+
# Parameters: DocumentArchiveCategoryHandle: Handle for the DocumentArchiveCategory.
|
139
|
+
#
|
140
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
141
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DocumentArchiveCategory_GetName
|
142
|
+
# @return [Hash] The body content of the SOAP response.
|
143
|
+
def self.get_name
|
144
|
+
response = invoke('DocumentArchiveCategory_GetName') do |message|
|
145
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# Sets the name of a DocumentArchiveCategory.
|
150
|
+
# Parameters: documentArchiveCategoryHandle: Handle for the DocumentArchiveCategory. value: new name of the DocumentArchiveCategory.
|
151
|
+
#
|
152
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
153
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=DocumentArchiveCategory_SetName
|
154
|
+
# @return [Hash] The body content of the SOAP response.
|
155
|
+
def self.set_name
|
156
|
+
response = invoke('DocumentArchiveCategory_SetName') do |message|
|
157
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
end
|
162
|
+
end
|
163
|
+
end
|