ruconomic 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +5 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +100 -0
  6. data/Rakefile +2 -0
  7. data/lib/ruconomic/api/account.rb +520 -0
  8. data/lib/ruconomic/api/accounting_period.rb +113 -0
  9. data/lib/ruconomic/api/accounting_year.rb +161 -0
  10. data/lib/ruconomic/api/activity.rb +90 -0
  11. data/lib/ruconomic/api/bank_payment_type.rb +103 -0
  12. data/lib/ruconomic/api/budget_figure.rb +343 -0
  13. data/lib/ruconomic/api/cash_book.rb +232 -0
  14. data/lib/ruconomic/api/cash_book_entry.rb +716 -0
  15. data/lib/ruconomic/api/company.rb +294 -0
  16. data/lib/ruconomic/api/cost_type.rb +138 -0
  17. data/lib/ruconomic/api/cost_type_group.rb +115 -0
  18. data/lib/ruconomic/api/creditor.rb +688 -0
  19. data/lib/ruconomic/api/creditor_contact.rb +269 -0
  20. data/lib/ruconomic/api/creditor_entry.rb +235 -0
  21. data/lib/ruconomic/api/creditor_group.rb +208 -0
  22. data/lib/ruconomic/api/currency.rb +67 -0
  23. data/lib/ruconomic/api/current_invoice.rb +1110 -0
  24. data/lib/ruconomic/api/current_invoice_line.rb +440 -0
  25. data/lib/ruconomic/api/current_supplier_invoice.rb +115 -0
  26. data/lib/ruconomic/api/current_supplier_invoice_line.rb +92 -0
  27. data/lib/ruconomic/api/debtor.rb +978 -0
  28. data/lib/ruconomic/api/debtor_contact.rb +328 -0
  29. data/lib/ruconomic/api/debtor_entry.rb +223 -0
  30. data/lib/ruconomic/api/debtor_group.rb +232 -0
  31. data/lib/ruconomic/api/delivery_location.rb +341 -0
  32. data/lib/ruconomic/api/department.rb +197 -0
  33. data/lib/ruconomic/api/distribution_key.rb +187 -0
  34. data/lib/ruconomic/api/document_archive_category.rb +163 -0
  35. data/lib/ruconomic/api/employee.rb +421 -0
  36. data/lib/ruconomic/api/employee_group.rb +199 -0
  37. data/lib/ruconomic/api/entry.rb +318 -0
  38. data/lib/ruconomic/api/extended_vat_zone.rb +79 -0
  39. data/lib/ruconomic/api/inventory_location.rb +91 -0
  40. data/lib/ruconomic/api/invoice.rb +655 -0
  41. data/lib/ruconomic/api/invoice_line.rb +248 -0
  42. data/lib/ruconomic/api/key_figure_code.rb +103 -0
  43. data/lib/ruconomic/api/mileage_entry.rb +319 -0
  44. data/lib/ruconomic/api/order.rb +1169 -0
  45. data/lib/ruconomic/api/order_line.rb +451 -0
  46. data/lib/ruconomic/api/price_group.rb +200 -0
  47. data/lib/ruconomic/api/product.rb +533 -0
  48. data/lib/ruconomic/api/product_group.rb +271 -0
  49. data/lib/ruconomic/api/product_price.rb +164 -0
  50. data/lib/ruconomic/api/project.rb +449 -0
  51. data/lib/ruconomic/api/project_group.rb +113 -0
  52. data/lib/ruconomic/api/quotation.rb +1145 -0
  53. data/lib/ruconomic/api/quotation_line.rb +451 -0
  54. data/lib/ruconomic/api/report_code.rb +78 -0
  55. data/lib/ruconomic/api/report_code_set.rb +89 -0
  56. data/lib/ruconomic/api/scanned_document.rb +175 -0
  57. data/lib/ruconomic/api/subscriber.rb +475 -0
  58. data/lib/ruconomic/api/subscription.rb +375 -0
  59. data/lib/ruconomic/api/subscription_line.rb +307 -0
  60. data/lib/ruconomic/api/sum_interval.rb +164 -0
  61. data/lib/ruconomic/api/template_collection.rb +78 -0
  62. data/lib/ruconomic/api/term_of_payment.rb +307 -0
  63. data/lib/ruconomic/api/time_entry.rb +258 -0
  64. data/lib/ruconomic/api/unit.rb +187 -0
  65. data/lib/ruconomic/api/vat_account.rb +151 -0
  66. data/lib/ruconomic/api.rb +79 -0
  67. data/lib/ruconomic/fault.rb +17 -0
  68. data/lib/ruconomic/soap/document.rb +79 -0
  69. data/lib/ruconomic/soap/node.rb +24 -0
  70. data/lib/ruconomic/soap.rb +7 -0
  71. data/lib/ruconomic/version.rb +3 -0
  72. data/lib/ruconomic/web_service.rb +50 -0
  73. data/lib/ruconomic.rb +42 -0
  74. data/ruconomic.gemspec +27 -0
  75. metadata +202 -0
@@ -0,0 +1,421 @@
1
+ module Ruconomic
2
+ module API
3
+ module Employee
4
+ extend Ruconomic::WebService
5
+
6
+ # Deletes an employee.
7
+ # Parameters: employeeHandle: Handle for the employee.
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=Employee_Delete
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.delete
13
+ response = invoke('Employee_Delete') 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
+ # Gets handles for the time entries of the employee.
19
+ # Parameters: employeeHandle: Handle for the employee.
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=Employee_GetTimeEntries
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.get_time_entries
25
+ response = invoke('Employee_GetTimeEntries') 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
+ # Gets handles for the time entries of the employee within an interval.
31
+ # Parameters: from: First day in interval. to: Last day in interval.
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=Employee_GetTimeEntriesByDate
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.get_time_entries_by_date
37
+ response = invoke('Employee_GetTimeEntriesByDate') 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
+ # Gets handles for the mileage entries of the employee within an interval.
43
+ # Parameters: from: First day in interval. to: Last day in interval.
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=Employee_GetMileageEntriesByDate
47
+ # @return [Hash] The body content of the SOAP response.
48
+ def self.get_mileage_entries_by_date
49
+ response = invoke('Employee_GetMileageEntriesByDate') 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
+ # Get sales price for a given employee on the current date.
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=Employee_GetSalesPrice
58
+ # @return [Hash] The body content of the SOAP response.
59
+ def self.get_sales_price
60
+ response = invoke('Employee_GetSalesPrice') 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
+ # Get costprice for a given employee on the current date.
66
+ #
67
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
68
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetCostPrice
69
+ # @return [Hash] The body content of the SOAP response.
70
+ def self.get_cost_price
71
+ response = invoke('Employee_GetCostPrice') do |message|
72
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
73
+ end
74
+ end
75
+
76
+ # Gets the sales price for the given Employee.<br/>Parameters: employeeHandle: Handle for the employee. date: The sales price from the given date for the employee.
77
+ #
78
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
79
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetSalesPriceByDate
80
+ # @return [Hash] The body content of the SOAP response.
81
+ def self.get_sales_price_by_date
82
+ response = invoke('Employee_GetSalesPriceByDate') do |message|
83
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
84
+ end
85
+ end
86
+
87
+ # Gets the cost price for the given Employee.<br/>Parameters: employeeHandle: Handle for the employee. date: The cost price from the given date for the employee.
88
+ #
89
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
90
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetCostPriceByDate
91
+ # @return [Hash] The body content of the SOAP response.
92
+ def self.get_cost_price_by_date
93
+ response = invoke('Employee_GetCostPriceByDate') do |message|
94
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
95
+ end
96
+ end
97
+
98
+ # Sets the cost price before of an employee.
99
+ # Parameters: employeeHandle: Handle for the employee. value: The new cost price before of the employee. The value may be null.
100
+ #
101
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
102
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_SetCostPriceBefore
103
+ # @return [Hash] The body content of the SOAP response.
104
+ def self.set_cost_price_before
105
+ response = invoke('Employee_SetCostPriceBefore') do |message|
106
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
107
+ end
108
+ end
109
+
110
+ # Sets the cost price after of an employee.
111
+ # Parameters: employeeHandle: Handle for the employee. value: The new cost price after of the employee. The value may be null.
112
+ #
113
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
114
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_SetCostPriceAfter
115
+ # @return [Hash] The body content of the SOAP response.
116
+ def self.set_cost_price_after
117
+ response = invoke('Employee_SetCostPriceAfter') do |message|
118
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
119
+ end
120
+ end
121
+
122
+ # Sets the sales price before of an employee.
123
+ # Parameters: employeeHandle: Handle for the employee. value: The new sales price before of the employee. The value may be null.
124
+ #
125
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
126
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_SetSalesPriceBefore
127
+ # @return [Hash] The body content of the SOAP response.
128
+ def self.set_sales_price_before
129
+ response = invoke('Employee_SetSalesPriceBefore') do |message|
130
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
131
+ end
132
+ end
133
+
134
+ # Sets the sales price after of an employee.
135
+ # Parameters: employeeHandle: Handle for the employee. value: The new sales price after of the employee. The value may be null.
136
+ #
137
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
138
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_SetSalesPriceAfter
139
+ # @return [Hash] The body content of the SOAP response.
140
+ def self.set_sales_price_after
141
+ response = invoke('Employee_SetSalesPriceAfter') do |message|
142
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
143
+ end
144
+ end
145
+
146
+ # Gets the cost price before of an employee.
147
+ # Parameters: employeeHandle: Handle for the employee. value: The new cost price before of the employee. The value may be null.
148
+ #
149
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
150
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetCostPriceBefore
151
+ # @return [Hash] The body content of the SOAP response.
152
+ def self.get_cost_price_before
153
+ response = invoke('Employee_GetCostPriceBefore') do |message|
154
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
155
+ end
156
+ end
157
+
158
+ # Gets the cost price after of an employee.
159
+ # Parameters: employeeHandle: Handle for the employee. value: The new cost price after of the employee. The value may be null.
160
+ #
161
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
162
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetCostPriceAfter
163
+ # @return [Hash] The body content of the SOAP response.
164
+ def self.get_cost_price_after
165
+ response = invoke('Employee_GetCostPriceAfter') do |message|
166
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
167
+ end
168
+ end
169
+
170
+ # Gets the sales price before of an employee.
171
+ # Parameters: employeeHandle: Handle for the employee.
172
+ #
173
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
174
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetSalesPriceBefore
175
+ # @return [Hash] The body content of the SOAP response.
176
+ def self.get_sales_price_before
177
+ response = invoke('Employee_GetSalesPriceBefore') do |message|
178
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
179
+ end
180
+ end
181
+
182
+ # Gets the sales price after of an employee.
183
+ # Parameters: employeeHandle: Handle for the employee.
184
+ #
185
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
186
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetSalesPriceAfter
187
+ # @return [Hash] The body content of the SOAP response.
188
+ def self.get_sales_price_after
189
+ response = invoke('Employee_GetSalesPriceAfter') do |message|
190
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
191
+ end
192
+ end
193
+
194
+ # Sets the cutoff date of an employee.
195
+ # Parameters: employeeHandle: Handle for the employee. value: The cutoff date for the employee. The value may be null.
196
+ #
197
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
198
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_SetCutoffDate
199
+ # @return [Hash] The body content of the SOAP response.
200
+ def self.set_cutoff_date
201
+ response = invoke('Employee_SetCutoffDate') do |message|
202
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
203
+ end
204
+ end
205
+
206
+ # Gets the cutoff date of an employee.
207
+ # Parameters: employeeHandle: Handle for the employee.
208
+ #
209
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
210
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetCutoffDate
211
+ # @return [Hash] The body content of the SOAP response.
212
+ def self.get_cutoff_date
213
+ response = invoke('Employee_GetCutoffDate') do |message|
214
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
215
+ end
216
+ end
217
+
218
+ # Creates a new employee from a data object.
219
+ # Parameters: data: The data object that specifies the properties of the new employee.
220
+ #
221
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
222
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_CreateFromData
223
+ # @return [Hash] The body content of the SOAP response.
224
+ def self.create_from_data
225
+ response = invoke('Employee_CreateFromData') do |message|
226
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
227
+ end
228
+ end
229
+
230
+ # Creates new employees from data objects.
231
+ # Parameters: dataArray: The array of data objects that specifies the properties of the new employees.
232
+ #
233
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
234
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_CreateFromDataArray
235
+ # @return [Hash] The body content of the SOAP response.
236
+ def self.create_from_data_array
237
+ response = invoke('Employee_CreateFromDataArray') do |message|
238
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
239
+ end
240
+ end
241
+
242
+ # Update employees from data objects.
243
+ # Parameters: dataArray: The array of data objects.
244
+ #
245
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
246
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_UpdateFromDataArray
247
+ # @return [Hash] The body content of the SOAP response.
248
+ def self.update_from_data_array
249
+ response = invoke('Employee_UpdateFromDataArray') do |message|
250
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
251
+ end
252
+ end
253
+
254
+ # Updates an employee from a data object.
255
+ # Parameters: data: The data object.
256
+ #
257
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
258
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_UpdateFromData
259
+ # @return [Hash] The body content of the SOAP response.
260
+ def self.update_from_data
261
+ response = invoke('Employee_UpdateFromData') do |message|
262
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
263
+ end
264
+ end
265
+
266
+ # Returns an employee data object for a given employee.
267
+ # Parameters: entityHandle: A handle for the employee.
268
+ #
269
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
270
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetData
271
+ # @return [Hash] The body content of the SOAP response.
272
+ def self.get_data
273
+ response = invoke('Employee_GetData') do |message|
274
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
275
+ end
276
+ end
277
+
278
+ # Returns employee data objects for a given set of employee handles.
279
+ # Parameters: entityHandles: An array of the employee handles.
280
+ #
281
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
282
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetDataArray
283
+ # @return [Hash] The body content of the SOAP response.
284
+ def self.get_data_array
285
+ response = invoke('Employee_GetDataArray') do |message|
286
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
287
+ end
288
+ end
289
+
290
+ # Retrieve the type of an employee as the enum EmployeeType.
291
+ #
292
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
293
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetType
294
+ # @return [Hash] The body content of the SOAP response.
295
+ def self.get_type
296
+ response = invoke('Employee_GetType') do |message|
297
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
298
+ end
299
+ end
300
+
301
+ # Gets the number of an employee.
302
+ # Parameters: employeeHandle: Handle for the employee.
303
+ #
304
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
305
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetNumber
306
+ # @return [Hash] The body content of the SOAP response.
307
+ def self.get_number
308
+ response = invoke('Employee_GetNumber') do |message|
309
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
310
+ end
311
+ end
312
+
313
+ # Gets handle for the group of an employee.
314
+ # Parameters: employeeHandle: Handle for the employee.
315
+ #
316
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
317
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetGroup
318
+ # @return [Hash] The body content of the SOAP response.
319
+ def self.get_group
320
+ response = invoke('Employee_GetGroup') do |message|
321
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
322
+ end
323
+ end
324
+
325
+ # Sets handle for the group of an employee.
326
+ # Parameters: employeeHandle: Handle for the employee. valueHandle: Handle for new group of the employee.
327
+ #
328
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
329
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_SetGroup
330
+ # @return [Hash] The body content of the SOAP response.
331
+ def self.set_group
332
+ response = invoke('Employee_SetGroup') do |message|
333
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
334
+ end
335
+ end
336
+
337
+ # Gets name of an employee.
338
+ # Parameters: employeeHandle: Handle for the employee.
339
+ #
340
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
341
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetName
342
+ # @return [Hash] The body content of the SOAP response.
343
+ def self.get_name
344
+ response = invoke('Employee_GetName') do |message|
345
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
346
+ end
347
+ end
348
+
349
+ # Sets name of an employee.
350
+ # Parameters: employeeHandle: Handle for the employee. value: The new name of the employee. The value may not be null.
351
+ #
352
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
353
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_SetName
354
+ # @return [Hash] The body content of the SOAP response.
355
+ def self.set_name
356
+ response = invoke('Employee_SetName') do |message|
357
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
358
+ end
359
+ end
360
+
361
+ # Creates an employee.
362
+ # Parameters: number: The number of the new employee. group: Handle for the group of the new employee. name: The name of the new employee.
363
+ #
364
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
365
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_Create
366
+ # @return [Hash] The body content of the SOAP response.
367
+ def self.create
368
+ response = invoke('Employee_Create') do |message|
369
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
370
+ end
371
+ end
372
+
373
+ # Returns handles for all employees.
374
+ #
375
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
376
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_GetAll
377
+ # @return [Hash] The body content of the SOAP response.
378
+ def self.get_all
379
+ response = invoke('Employee_GetAll') do |message|
380
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
381
+ end
382
+ end
383
+
384
+ # The returns handle for the employee with a given number.<br >Parameters: The number to search for.
385
+ #
386
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
387
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_FindByNumber
388
+ # @return [Hash] The body content of the SOAP response.
389
+ def self.find_by_number
390
+ response = invoke('Employee_FindByNumber') do |message|
391
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
392
+ end
393
+ end
394
+
395
+ # Returns an array with handles for the employees corresponding to the given product numbers. If an employee with a given number does not exist then the array contains nothing at that index.
396
+ # Parameters: numbers: The numbers to search for.
397
+ #
398
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
399
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_FindByNumberList
400
+ # @return [Hash] The body content of the SOAP response.
401
+ def self.find_by_number_list
402
+ response = invoke('Employee_FindByNumberList') do |message|
403
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
404
+ end
405
+ end
406
+
407
+ # Returns handles for employees with a given name.
408
+ # Parameters: name: The name to search for.
409
+ #
410
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
411
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Employee_FindByName
412
+ # @return [Hash] The body content of the SOAP response.
413
+ def self.find_by_name
414
+ response = invoke('Employee_FindByName') do |message|
415
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
416
+ end
417
+ end
418
+
419
+ end
420
+ end
421
+ end
@@ -0,0 +1,199 @@
1
+ module Ruconomic
2
+ module API
3
+ module EmployeeGroup
4
+ extend Ruconomic::WebService
5
+
6
+ # Creates a new employee group from a data object.
7
+ # Parameters: data: The data object that specifies the properties of the new employee group.
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=EmployeeGroup_CreateFromData
11
+ # @return [Hash] The body content of the SOAP response.
12
+ def self.create_from_data
13
+ response = invoke('EmployeeGroup_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 employee groups from data objects.
19
+ # Parameters: dataArray: The array of data objects that specifies the properties of the new employee groups.
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=EmployeeGroup_CreateFromDataArray
23
+ # @return [Hash] The body content of the SOAP response.
24
+ def self.create_from_data_array
25
+ response = invoke('EmployeeGroup_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 employee groups 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=EmployeeGroup_UpdateFromDataArray
35
+ # @return [Hash] The body content of the SOAP response.
36
+ def self.update_from_data_array
37
+ response = invoke('EmployeeGroup_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 an employee group 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=EmployeeGroup_UpdateFromData
47
+ # @return [Hash] The body content of the SOAP response.
48
+ def self.update_from_data
49
+ response = invoke('EmployeeGroup_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 employee group data object for a given debtor.
55
+ # Parameters: entityHandle: A handle for the employee group.
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=EmployeeGroup_GetData
59
+ # @return [Hash] The body content of the SOAP response.
60
+ def self.get_data
61
+ response = invoke('EmployeeGroup_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 employee group data objects for a given set of employee group handles.
67
+ # Parameters: entityHandles: An array of the employee group 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=EmployeeGroup_GetDataArray
71
+ # @return [Hash] The body content of the SOAP response.
72
+ def self.get_data_array
73
+ response = invoke('EmployeeGroup_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
+ # Gets the number of an employee group.
79
+ # Parameters: employeeGroupHandle: Handle for the employee group.
80
+ #
81
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
82
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=EmployeeGroup_GetNumber
83
+ # @return [Hash] The body content of the SOAP response.
84
+ def self.get_number
85
+ response = invoke('EmployeeGroup_GetNumber') do |message|
86
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
87
+ end
88
+ end
89
+
90
+ # Gets the name of an employee group.
91
+ # Parameters: employeeGroupHandle: Handle for the employee group.
92
+ #
93
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
94
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=EmployeeGroup_GetName
95
+ # @return [Hash] The body content of the SOAP response.
96
+ def self.get_name
97
+ response = invoke('EmployeeGroup_GetName') do |message|
98
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
99
+ end
100
+ end
101
+
102
+ # Sets the name of an employee group.
103
+ # Parameters: employeeGroupHandle: Handle for the employee group. value: The new name of the employee group.
104
+ #
105
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
106
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=EmployeeGroup_SetName
107
+ # @return [Hash] The body content of the SOAP response.
108
+ def self.set_name
109
+ response = invoke('EmployeeGroup_SetName') do |message|
110
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
111
+ end
112
+ end
113
+
114
+ # Creates an emplyee group.
115
+ # Parameters: number: Number of new employee group. name: Name of new employee group.
116
+ #
117
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
118
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=EmployeeGroup_Create
119
+ # @return [Hash] The body content of the SOAP response.
120
+ def self.create
121
+ response = invoke('EmployeeGroup_Create') do |message|
122
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
123
+ end
124
+ end
125
+
126
+ # Returns handles for all employee groups.
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=EmployeeGroup_GetAll
130
+ # @return [Hash] The body content of the SOAP response.
131
+ def self.get_all
132
+ response = invoke('EmployeeGroup_GetAll') 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
+ # Returns handle for employee group with a given number.
138
+ # Parameters: number: The number to search for.
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=EmployeeGroup_FindByNumber
142
+ # @return [Hash] The body content of the SOAP response.
143
+ def self.find_by_number
144
+ response = invoke('EmployeeGroup_FindByNumber') 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
+ # Returns an array with handles for the products corresponding to the given product numbers. If a product with a given number does not exist then the array contains nothing at that index.
150
+ # Parameters: numbers: The numbers to search for.
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=EmployeeGroup_FindByNumberList
154
+ # @return [Hash] The body content of the SOAP response.
155
+ def self.find_by_number_list
156
+ response = invoke('EmployeeGroup_FindByNumberList') 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
+ # Returns handles for employee groups with a given name.
162
+ # Parameters: name: The name to search for.
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=EmployeeGroup_FindByName
166
+ # @return [Hash] The body content of the SOAP response.
167
+ def self.find_by_name
168
+ response = invoke('EmployeeGroup_FindByName') 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
+ # Gets handles for employees in an employee group.
174
+ # Parameters: employeeGroupHandle: Handle for the employee group.
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=EmployeeGroup_GetEmployees
178
+ # @return [Hash] The body content of the SOAP response.
179
+ def self.get_employees
180
+ response = invoke('EmployeeGroup_GetEmployees') 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
+ # Deletes an employee group.
186
+ # Parameters: Handle for employee group to be deleted.
187
+ #
188
+ # @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
189
+ # @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=EmployeeGroup_Delete
190
+ # @return [Hash] The body content of the SOAP response.
191
+ def self.delete
192
+ response = invoke('EmployeeGroup_Delete') do |message|
193
+ raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
194
+ end
195
+ end
196
+
197
+ end
198
+ end
199
+ end