ruconomic 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,294 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module Company
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Returns a company data object for a given company.
|
7
|
+
# Parameters: entityHandle: A handle for the company.
|
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=Company_GetData
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.get_data
|
13
|
+
response = invoke('Company_GetData') 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
|
+
# Returns company data objects for a given set of company handles.
|
19
|
+
# Parameters: entityHandles: An array of company handles.
|
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=Company_GetDataArray
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.get_data_array
|
25
|
+
response = invoke('Company_GetDataArray') 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 handle for the company
|
31
|
+
#
|
32
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
33
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Company_Get
|
34
|
+
# @return [Hash] The body content of the SOAP response.
|
35
|
+
def self.get
|
36
|
+
response = invoke('Company_Get') do |message|
|
37
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
# Gets the agreement number of the Company.
|
42
|
+
# Parameters: companyHandle: Handle for the Company.
|
43
|
+
#
|
44
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
45
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Company_GetNumber
|
46
|
+
# @return [Hash] The body content of the SOAP response.
|
47
|
+
def self.get_number
|
48
|
+
response = invoke('Company_GetNumber') do |message|
|
49
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
# Gets the Currency entity of the Company.
|
54
|
+
# Parameters: companyHandle: Handle for the Company.
|
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=Company_GetBaseCurrency
|
58
|
+
# @return [Hash] The body content of the SOAP response.
|
59
|
+
def self.get_base_currency
|
60
|
+
response = invoke('Company_GetBaseCurrency') 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
|
+
# Gets or sets the Name of the Company.
|
66
|
+
# Parameters: companyHandle: Handle for the Company.
|
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=Company_GetName
|
70
|
+
# @return [Hash] The body content of the SOAP response.
|
71
|
+
def self.get_name
|
72
|
+
response = invoke('Company_GetName') 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
|
+
# Gets or sets Address1 of the Company.
|
78
|
+
# Parameters: companyHandle: Handle for the Company.
|
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=Company_GetAddress1
|
82
|
+
# @return [Hash] The body content of the SOAP response.
|
83
|
+
def self.get_address1
|
84
|
+
response = invoke('Company_GetAddress1') 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
|
+
# Gets or sets Address2 of the Company.
|
90
|
+
# Parameters: companyHandle: Handle for the Company.
|
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=Company_GetAddress2
|
94
|
+
# @return [Hash] The body content of the SOAP response.
|
95
|
+
def self.get_address2
|
96
|
+
response = invoke('Company_GetAddress2') 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 or sets the Postalcode of the Company.
|
102
|
+
# Parameters: companyHandle: Handle for the Company.
|
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=Company_GetPostalCode
|
106
|
+
# @return [Hash] The body content of the SOAP response.
|
107
|
+
def self.get_postal_code
|
108
|
+
response = invoke('Company_GetPostalCode') 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 or sets the City of the Company.
|
114
|
+
# Parameters: companyHandle: Handle for the Company.
|
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=Company_GetCity
|
118
|
+
# @return [Hash] The body content of the SOAP response.
|
119
|
+
def self.get_city
|
120
|
+
response = invoke('Company_GetCity') 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 County of the Company. (UK only)
|
126
|
+
# Parameters: companyHandle: Handle for the Company.
|
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=Company_GetCounty
|
130
|
+
# @return [Hash] The body content of the SOAP response.
|
131
|
+
def self.get_county
|
132
|
+
response = invoke('Company_GetCounty') 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 or sets the Country of the Company.
|
138
|
+
# Parameters: companyHandle: Handle for the Company.
|
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=Company_GetCountry
|
142
|
+
# @return [Hash] The body content of the SOAP response.
|
143
|
+
def self.get_country
|
144
|
+
response = invoke('Company_GetCountry') 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 all custom fields for the authorized application and agreement.
|
150
|
+
#
|
151
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
152
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Company_GetCustomFields
|
153
|
+
# @return [Hash] The body content of the SOAP response.
|
154
|
+
def self.get_custom_fields
|
155
|
+
response = invoke('Company_GetCustomFields') do |message|
|
156
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
# Adds, updates or deletes a batch of custom fields for the authorized application and agreement. <br/>Adds if the data key does not exist. <br/>Updates if the data key exist.<br/>Deletes if the data value is set to null or empty. <br/> Note: It is only per possibly to have 10 custom fields per combination of application and agreement.
|
161
|
+
# Parameters: a custom field with a data key that is not null and not empty.
|
162
|
+
#
|
163
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
164
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Company_SetCustomFields
|
165
|
+
# @return [Hash] The body content of the SOAP response.
|
166
|
+
def self.set_custom_fields
|
167
|
+
response = invoke('Company_SetCustomFields') do |message|
|
168
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
# Deletes a custom field based on the provided data key. Note: Will not throw an exception if the provided data key does not exist.
|
173
|
+
# Parameters: a dataKey
|
174
|
+
#
|
175
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
176
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Company_DeleteCustomField
|
177
|
+
# @return [Hash] The body content of the SOAP response.
|
178
|
+
def self.delete_custom_field
|
179
|
+
response = invoke('Company_DeleteCustomField') do |message|
|
180
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
# Gets or sets the Telephonenumber of the Company.
|
185
|
+
# Parameters: companyHandle: Handle for the Company.
|
186
|
+
#
|
187
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
188
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Company_GetTelephoneNumber
|
189
|
+
# @return [Hash] The body content of the SOAP response.
|
190
|
+
def self.get_telephone_number
|
191
|
+
response = invoke('Company_GetTelephoneNumber') do |message|
|
192
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
# Gets the Faxnumber of the Company.
|
197
|
+
# Parameters: companyHandle: Handle for the Company.
|
198
|
+
#
|
199
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
200
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Company_GetFaxNumber
|
201
|
+
# @return [Hash] The body content of the SOAP response.
|
202
|
+
def self.get_fax_number
|
203
|
+
response = invoke('Company_GetFaxNumber') do |message|
|
204
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
208
|
+
# Gets the Mobilenumber of the Company.
|
209
|
+
# Parameters: companyHandle: Handle for the Company.
|
210
|
+
#
|
211
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
212
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Company_GetMobileNumber
|
213
|
+
# @return [Hash] The body content of the SOAP response.
|
214
|
+
def self.get_mobile_number
|
215
|
+
response = invoke('Company_GetMobileNumber') do |message|
|
216
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
# Gets the Contact of the Company.
|
221
|
+
# Parameters: companyHandle: Handle for the Company.
|
222
|
+
#
|
223
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
224
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Company_GetContact
|
225
|
+
# @return [Hash] The body content of the SOAP response.
|
226
|
+
def self.get_contact
|
227
|
+
response = invoke('Company_GetContact') do |message|
|
228
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
# Gets or sets the Website of the Company.
|
233
|
+
# Parameters: companyHandle: Handle for the Company.
|
234
|
+
#
|
235
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
236
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Company_GetWebSite
|
237
|
+
# @return [Hash] The body content of the SOAP response.
|
238
|
+
def self.get_web_site
|
239
|
+
response = invoke('Company_GetWebSite') do |message|
|
240
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
# Gets or sets the Email of the Company.
|
245
|
+
# Parameters: companyHandle: Handle for the Company.
|
246
|
+
#
|
247
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
248
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Company_GetEmail
|
249
|
+
# @return [Hash] The body content of the SOAP response.
|
250
|
+
def self.get_email
|
251
|
+
response = invoke('Company_GetEmail') do |message|
|
252
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
# Gets or sets the Corporate Identification Number of the Company.
|
257
|
+
# Parameters: companyHandle: Handle for the Company.
|
258
|
+
#
|
259
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
260
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Company_GetCINumber
|
261
|
+
# @return [Hash] The body content of the SOAP response.
|
262
|
+
def self.get_ci_number
|
263
|
+
response = invoke('Company_GetCINumber') do |message|
|
264
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
# Gets or sets the VAT number of the Company. (SE,UK,DE,PL,FI only)
|
269
|
+
# Parameters: companyHandle: Handle for the Company.
|
270
|
+
#
|
271
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
272
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Company_GetVatNumber
|
273
|
+
# @return [Hash] The body content of the SOAP response.
|
274
|
+
def self.get_vat_number
|
275
|
+
response = invoke('Company_GetVatNumber') do |message|
|
276
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
# Gets the Signup Date of the Company.
|
281
|
+
# Parameters: companyHandle: Handle for the Company.
|
282
|
+
#
|
283
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
284
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Company_GetSignUpDate
|
285
|
+
# @return [Hash] The body content of the SOAP response.
|
286
|
+
def self.get_sign_up_date
|
287
|
+
response = invoke('Company_GetSignUpDate') do |message|
|
288
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
292
|
+
end
|
293
|
+
end
|
294
|
+
end
|
@@ -0,0 +1,138 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module CostType
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Returns a cost type data object for a given cost type.
|
7
|
+
# Parameters: entityHandle: A handle for the cost type.
|
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=CostType_GetData
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.get_data
|
13
|
+
response = invoke('CostType_GetData') 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
|
+
# Returns cost type data objects for a given set of cost type handles.
|
19
|
+
# Parameters: entityHandles: An array of the cost type handles.
|
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=CostType_GetDataArray
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.get_data_array
|
25
|
+
response = invoke('CostType_GetDataArray') 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 the number of a cost type.
|
31
|
+
# Parameters: costTypeHandle: Handle for the cost type.
|
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=CostType_GetNumber
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.get_number
|
37
|
+
response = invoke('CostType_GetNumber') 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 the name of a cost type.
|
43
|
+
# Parameters: costTypeHandle: Handle for the cost type.
|
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=CostType_GetName
|
47
|
+
# @return [Hash] The body content of the SOAP response.
|
48
|
+
def self.get_name
|
49
|
+
response = invoke('CostType_GetName') 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
|
+
# Gets a handle for the CostTypeGroup of a cost type.
|
55
|
+
# Parameters: costTypeHandle: Handle for the cost type.
|
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=CostType_GetCostTypeGroup
|
59
|
+
# @return [Hash] The body content of the SOAP response.
|
60
|
+
def self.get_cost_type_group
|
61
|
+
response = invoke('CostType_GetCostTypeGroup') 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
|
+
# Gets a handle for the VAT account of a cost type.
|
67
|
+
# Parameters: costTypeHandle: Handle for the cost type.
|
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=CostType_GetVatAccount
|
71
|
+
# @return [Hash] The body content of the SOAP response.
|
72
|
+
def self.get_vat_account
|
73
|
+
response = invoke('CostType_GetVatAccount') 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
|
+
# Return handles for all cost types.
|
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=CostType_GetAll
|
82
|
+
# @return [Hash] The body content of the SOAP response.
|
83
|
+
def self.get_all
|
84
|
+
response = invoke('CostType_GetAll') 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 a handle for the cost type with the given number.
|
90
|
+
# Parameters: number: The number 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=CostType_FindByNumber
|
94
|
+
# @return [Hash] The body content of the SOAP response.
|
95
|
+
def self.find_by_number
|
96
|
+
response = invoke('CostType_FindByNumber') 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
|
+
# Returns an array with handles for cost types corresponding to the given cost type numbers. If a cost type with a given number does not exist or if no number is given then the array contains nothing at that index.
|
102
|
+
# Parameters: numbers: The numbers to search for.
|
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=CostType_FindByNumberList
|
106
|
+
# @return [Hash] The body content of the SOAP response.
|
107
|
+
def self.find_by_number_list
|
108
|
+
response = invoke('CostType_FindByNumberList') 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
|
+
# Returns handles for the cost types with the given name.
|
114
|
+
# Parameters: name: The name to search for.
|
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=CostType_FindByName
|
118
|
+
# @return [Hash] The body content of the SOAP response.
|
119
|
+
def self.find_by_name
|
120
|
+
response = invoke('CostType_FindByName') 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
|
+
# Return handles for all cost types from date. fromDate is based on CET. includeCalculatedProperties is reserved for future usage and should be set to false for now.
|
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=CostType_GetAllUpdated
|
129
|
+
# @return [Hash] The body content of the SOAP response.
|
130
|
+
def self.get_all_updated
|
131
|
+
response = invoke('CostType_GetAllUpdated') 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
|
+
end
|
137
|
+
end
|
138
|
+
end
|
@@ -0,0 +1,115 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module CostTypeGroup
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Returns an CostTypeGroup data object for a given CostTypeGroup.
|
7
|
+
# Parameters: entityHandle: A handle for the CostTypeGroup.
|
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=CostTypeGroup_GetData
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.get_data
|
13
|
+
response = invoke('CostTypeGroup_GetData') 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
|
+
# Returns CostTypeGroup data objects for a given set of CostTypeGroup handles.
|
19
|
+
# Parameters: entityHandles: An array of the CostTypeGroup handles.
|
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=CostTypeGroup_GetDataArray
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.get_data_array
|
25
|
+
response = invoke('CostTypeGroup_GetDataArray') 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 the number of a CostTypeGroup.
|
31
|
+
# Parameters: costTypeGroupHandle: Handle for the CostTypeGroup.
|
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=CostTypeGroup_GetNumber
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.get_number
|
37
|
+
response = invoke('CostTypeGroup_GetNumber') 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 the name of a CostTypeGroup.
|
43
|
+
# Parameters: costTypeGroupHandle: Handle for the CostTypeGroup.
|
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=CostTypeGroup_GetName
|
47
|
+
# @return [Hash] The body content of the SOAP response.
|
48
|
+
def self.get_name
|
49
|
+
response = invoke('CostTypeGroup_GetName') 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
|
+
# Gets a handle for the ongoing account of a CostTypeGroup.
|
55
|
+
# Parameters: costTypeGroupHandle: Handle for the CostTypeGroup.
|
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=CostTypeGroup_GetAccountOngoing
|
59
|
+
# @return [Hash] The body content of the SOAP response.
|
60
|
+
def self.get_account_ongoing
|
61
|
+
response = invoke('CostTypeGroup_GetAccountOngoing') 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
|
+
# Gets a handle for the closed account of a CostTypeGroup.
|
67
|
+
# Parameters: costTypeGroupHandle: Handle for the CostTypeGroup.
|
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=CostTypeGroup_GetAccountClosed
|
71
|
+
# @return [Hash] The body content of the SOAP response.
|
72
|
+
def self.get_account_closed
|
73
|
+
response = invoke('CostTypeGroup_GetAccountClosed') 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
|
+
# Return handles for all CostTypeGroups.
|
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=CostTypeGroup_GetAll
|
82
|
+
# @return [Hash] The body content of the SOAP response.
|
83
|
+
def self.get_all
|
84
|
+
response = invoke('CostTypeGroup_GetAll') 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 a handle for the CostTypeGroup with the given number.
|
90
|
+
# Parameters: number: The number 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=CostTypeGroup_FindByNumber
|
94
|
+
# @return [Hash] The body content of the SOAP response.
|
95
|
+
def self.find_by_number
|
96
|
+
response = invoke('CostTypeGroup_FindByNumber') 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
|
+
# Returns handles for the CostTypeGroups with the given name.
|
102
|
+
# Parameters: name: The name to search for.
|
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=CostTypeGroup_FindByName
|
106
|
+
# @return [Hash] The body content of the SOAP response.
|
107
|
+
def self.find_by_name
|
108
|
+
response = invoke('CostTypeGroup_FindByName') 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
|
+
end
|
114
|
+
end
|
115
|
+
end
|