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,449 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module Project
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Creates a new project.
|
7
|
+
#
|
8
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
9
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_Create
|
10
|
+
# @return [Hash] The body content of the SOAP response.
|
11
|
+
def self.create
|
12
|
+
response = invoke('Project_Create') do |message|
|
13
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
# Return handles for all projects.
|
18
|
+
#
|
19
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
20
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetAll
|
21
|
+
# @return [Hash] The body content of the SOAP response.
|
22
|
+
def self.get_all
|
23
|
+
response = invoke('Project_GetAll') do |message|
|
24
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
# Return handles for all projects from date. fromDate is based on CET. includeCalculatedProperties is reserved for future usage and should be set to false for now.
|
29
|
+
#
|
30
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
31
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetAllUpdated
|
32
|
+
# @return [Hash] The body content of the SOAP response.
|
33
|
+
def self.get_all_updated
|
34
|
+
response = invoke('Project_GetAllUpdated') do |message|
|
35
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
# Returns a handle for the project with the given number.
|
40
|
+
# Parameters: number: The number to search for.
|
41
|
+
#
|
42
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
43
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_FindByNumber
|
44
|
+
# @return [Hash] The body content of the SOAP response.
|
45
|
+
def self.find_by_number
|
46
|
+
response = invoke('Project_FindByNumber') do |message|
|
47
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
# Returns an array with handles for the projects corresponding to the given project numbers. If a project with a given number does not exist or if no number is given then the array contains null at that index.
|
52
|
+
# Parameters: numbers: The numbers to search for.
|
53
|
+
#
|
54
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
55
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_FindByNumberList
|
56
|
+
# @return [Hash] The body content of the SOAP response.
|
57
|
+
def self.find_by_number_list
|
58
|
+
response = invoke('Project_FindByNumberList') do |message|
|
59
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
# Returns handles for the projects with the given name.
|
64
|
+
# Parameters: name: The name to search for.
|
65
|
+
#
|
66
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
67
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_FindByName
|
68
|
+
# @return [Hash] The body content of the SOAP response.
|
69
|
+
def self.find_by_name
|
70
|
+
response = invoke('Project_FindByName') do |message|
|
71
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# Returns handles for the open sub-projects for a given project, or all open sub-projects.
|
76
|
+
# Parameters: mainProjectHandle: Handle for main project.
|
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=Project_GetOpenSubProjects
|
80
|
+
# @return [Hash] The body content of the SOAP response.
|
81
|
+
def self.get_open_sub_projects
|
82
|
+
response = invoke('Project_GetOpenSubProjects') 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 handles for the activities allowed on the project.
|
88
|
+
# Parameters: projectHandle: Handle for the project.
|
89
|
+
#
|
90
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
91
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetActivities
|
92
|
+
# @return [Hash] The body content of the SOAP response.
|
93
|
+
def self.get_activities
|
94
|
+
response = invoke('Project_GetActivities') do |message|
|
95
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# Gets handles for the time entries of the project.
|
100
|
+
# Parameters: projectHandle: Handle for the project.
|
101
|
+
#
|
102
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
103
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetTimeEntries
|
104
|
+
# @return [Hash] The body content of the SOAP response.
|
105
|
+
def self.get_time_entries
|
106
|
+
response = invoke('Project_GetTimeEntries') do |message|
|
107
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
# Gets handles for the time entries of the project within an interval.
|
112
|
+
# Parameters: from: First day in interval. to: Last day in interval.
|
113
|
+
#
|
114
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
115
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetTimeEntriesByDate
|
116
|
+
# @return [Hash] The body content of the SOAP response.
|
117
|
+
def self.get_time_entries_by_date
|
118
|
+
response = invoke('Project_GetTimeEntriesByDate') do |message|
|
119
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
# Gets handles for the mileage entries of the project within an interval.
|
124
|
+
# Parameters: from: First day in interval. to: Last day in interval.
|
125
|
+
#
|
126
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
127
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetMileageEntriesByDate
|
128
|
+
# @return [Hash] The body content of the SOAP response.
|
129
|
+
def self.get_mileage_entries_by_date
|
130
|
+
response = invoke('Project_GetMileageEntriesByDate') do |message|
|
131
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
# Gets handles for the entries of the project.
|
136
|
+
# Parameters: projectHandle: Handle for the project.
|
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=Project_GetEntries
|
140
|
+
# @return [Hash] The body content of the SOAP response.
|
141
|
+
def self.get_entries
|
142
|
+
response = invoke('Project_GetEntries') 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
|
+
# Returns handles for the entries of the project within the given time interval.
|
148
|
+
# Parameters: from: First day in interval. to: Last day in interval.
|
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=Project_GetEntriesByDate
|
152
|
+
# @return [Hash] The body content of the SOAP response.
|
153
|
+
def self.get_entries_by_date
|
154
|
+
response = invoke('Project_GetEntriesByDate') 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
|
+
# Creates a new project from a data object.
|
160
|
+
# Parameters: data: The data object that specifies the properties of the new project.
|
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=Project_CreateFromData
|
164
|
+
# @return [Hash] The body content of the SOAP response.
|
165
|
+
def self.create_from_data
|
166
|
+
response = invoke('Project_CreateFromData') 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
|
+
# Creates new projects from data objects.
|
172
|
+
# Parameters: dataArray: The array of data objects that specifies the properties of the new projects.
|
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=Project_CreateFromDataArray
|
176
|
+
# @return [Hash] The body content of the SOAP response.
|
177
|
+
def self.create_from_data_array
|
178
|
+
response = invoke('Project_CreateFromDataArray') 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
|
+
# Update projects from data objects.
|
184
|
+
# Parameters: dataArray: The array of data objects.
|
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=Project_UpdateFromDataArray
|
188
|
+
# @return [Hash] The body content of the SOAP response.
|
189
|
+
def self.update_from_data_array
|
190
|
+
response = invoke('Project_UpdateFromDataArray') 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
|
+
# Updates a project from a data object.
|
196
|
+
# Parameters: data: The data object.
|
197
|
+
#
|
198
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
199
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_UpdateFromData
|
200
|
+
# @return [Hash] The body content of the SOAP response.
|
201
|
+
def self.update_from_data
|
202
|
+
response = invoke('Project_UpdateFromData') do |message|
|
203
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
207
|
+
# Returns a project data object for a given project.
|
208
|
+
# Parameters: entityHandle: A handle for the project.
|
209
|
+
#
|
210
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
211
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetData
|
212
|
+
# @return [Hash] The body content of the SOAP response.
|
213
|
+
def self.get_data
|
214
|
+
response = invoke('Project_GetData') do |message|
|
215
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
# Returns project data objects for a given set of project handles.
|
220
|
+
# Parameters: entityHandles: An array of the project handles.
|
221
|
+
#
|
222
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
223
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetDataArray
|
224
|
+
# @return [Hash] The body content of the SOAP response.
|
225
|
+
def self.get_data_array
|
226
|
+
response = invoke('Project_GetDataArray') do |message|
|
227
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
# Gets the number of a project.
|
232
|
+
# Parameters: projectHandle: Handle for the project.
|
233
|
+
#
|
234
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
235
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetNumber
|
236
|
+
# @return [Hash] The body content of the SOAP response.
|
237
|
+
def self.get_number
|
238
|
+
response = invoke('Project_GetNumber') do |message|
|
239
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
# Gets the name of a project.
|
244
|
+
# Parameters: projectHandle: Handle for the project.
|
245
|
+
#
|
246
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
247
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetName
|
248
|
+
# @return [Hash] The body content of the SOAP response.
|
249
|
+
def self.get_name
|
250
|
+
response = invoke('Project_GetName') do |message|
|
251
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
# Sets the name of a project.
|
256
|
+
# Parameters: projectHandle: Handle for the project. value: The new name of the project.
|
257
|
+
#
|
258
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
259
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_SetName
|
260
|
+
# @return [Hash] The body content of the SOAP response.
|
261
|
+
def self.set_name
|
262
|
+
response = invoke('Project_SetName') do |message|
|
263
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
# Gets handle for project group of a project.
|
268
|
+
# Parameters: projectHandle: Handle for the project.
|
269
|
+
#
|
270
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
271
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetProjectGroup
|
272
|
+
# @return [Hash] The body content of the SOAP response.
|
273
|
+
def self.get_project_group
|
274
|
+
response = invoke('Project_GetProjectGroup') do |message|
|
275
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
279
|
+
# Sets the project group of a project.
|
280
|
+
# Parameters: projectHandle: Handle for the project. valueHandle: Handle for new project group of the project.
|
281
|
+
#
|
282
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
283
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_SetProjectGroup
|
284
|
+
# @return [Hash] The body content of the SOAP response.
|
285
|
+
def self.set_project_group
|
286
|
+
response = invoke('Project_SetProjectGroup') do |message|
|
287
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
# Gets whether a project is a main project.
|
292
|
+
# Parameters: projectHandle: Handle for the project.
|
293
|
+
#
|
294
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
295
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetIsMainProject
|
296
|
+
# @return [Hash] The body content of the SOAP response.
|
297
|
+
def self.get_is_main_project
|
298
|
+
response = invoke('Project_GetIsMainProject') do |message|
|
299
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
303
|
+
# Gets which main project the project is attached to.
|
304
|
+
# Parameters: projectHandle: Handle for the project.
|
305
|
+
#
|
306
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
307
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetMainProject
|
308
|
+
# @return [Hash] The body content of the SOAP response.
|
309
|
+
def self.get_main_project
|
310
|
+
response = invoke('Project_GetMainProject') do |message|
|
311
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
# Gets a handle for the debtor of a project.
|
316
|
+
# Parameters: projectHandle: Handle for the project.
|
317
|
+
#
|
318
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
319
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetDebtor
|
320
|
+
# @return [Hash] The body content of the SOAP response.
|
321
|
+
def self.get_debtor
|
322
|
+
response = invoke('Project_GetDebtor') do |message|
|
323
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
# Sets a handle for the debtor of a project.
|
328
|
+
# Parameters: projectHandle: Handle for the project.
|
329
|
+
#
|
330
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
331
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_SetDebtor
|
332
|
+
# @return [Hash] The body content of the SOAP response.
|
333
|
+
def self.set_debtor
|
334
|
+
response = invoke('Project_SetDebtor') do |message|
|
335
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
# Gets the employee responsible for the project.
|
340
|
+
# Parameters: projectHandle: Handle for the project.
|
341
|
+
#
|
342
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
343
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetResponsible
|
344
|
+
# @return [Hash] The body content of the SOAP response.
|
345
|
+
def self.get_responsible
|
346
|
+
response = invoke('Project_GetResponsible') do |message|
|
347
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
351
|
+
# Sets the employee responsible for the project.
|
352
|
+
# Parameters: projectHandle: Handle for the project. value: The new employee responsiblelity of the project.
|
353
|
+
#
|
354
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
355
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_SetResponsible
|
356
|
+
# @return [Hash] The body content of the SOAP response.
|
357
|
+
def self.set_responsible
|
358
|
+
response = invoke('Project_SetResponsible') do |message|
|
359
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
363
|
+
# Gets the description of a project.
|
364
|
+
# Parameters: projectHandle: Handle for the project.
|
365
|
+
#
|
366
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
367
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetDescription
|
368
|
+
# @return [Hash] The body content of the SOAP response.
|
369
|
+
def self.get_description
|
370
|
+
response = invoke('Project_GetDescription') do |message|
|
371
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
375
|
+
# Sets the description of a project.
|
376
|
+
# Parameters: projectHandle: Handle for the project. value: The new description of the project.
|
377
|
+
#
|
378
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
379
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_SetDescription
|
380
|
+
# @return [Hash] The body content of the SOAP response.
|
381
|
+
def self.set_description
|
382
|
+
response = invoke('Project_SetDescription') do |message|
|
383
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
384
|
+
end
|
385
|
+
end
|
386
|
+
|
387
|
+
# Gets whether a project is accessible.
|
388
|
+
# Parameters: projectHandle: Handle for the project.
|
389
|
+
#
|
390
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
391
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetIsAccessible
|
392
|
+
# @return [Hash] The body content of the SOAP response.
|
393
|
+
def self.get_is_accessible
|
394
|
+
response = invoke('Project_GetIsAccessible') do |message|
|
395
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
# Sets whether a project is accessible.
|
400
|
+
# Parameters: projectHandle: Handle for the project. value: Value that indicates whether the project should be accessible.
|
401
|
+
#
|
402
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
403
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_SetIsAccessible
|
404
|
+
# @return [Hash] The body content of the SOAP response.
|
405
|
+
def self.set_is_accessible
|
406
|
+
response = invoke('Project_SetIsAccessible') do |message|
|
407
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
# Gets the mileage of the project.
|
412
|
+
# Parameters: projectHandle: Handle for the project.
|
413
|
+
#
|
414
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
415
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetMileage
|
416
|
+
# @return [Hash] The body content of the SOAP response.
|
417
|
+
def self.get_mileage
|
418
|
+
response = invoke('Project_GetMileage') do |message|
|
419
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
423
|
+
# Sets the mileage of the project.
|
424
|
+
# Parameters: projectHandle: Handle for the project. value: Value that indicates the mileage of the project.
|
425
|
+
#
|
426
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
427
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_SetMileage
|
428
|
+
# @return [Hash] The body content of the SOAP response.
|
429
|
+
def self.set_mileage
|
430
|
+
response = invoke('Project_SetMileage') do |message|
|
431
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
# Gets whether a project is closed.
|
436
|
+
# Parameters: projectHandle: Handle for the project.
|
437
|
+
#
|
438
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
439
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetIsClosed
|
440
|
+
# @return [Hash] The body content of the SOAP response.
|
441
|
+
def self.get_is_closed
|
442
|
+
response = invoke('Project_GetIsClosed') do |message|
|
443
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
end
|
448
|
+
end
|
449
|
+
end
|
@@ -0,0 +1,113 @@
|
|
1
|
+
module Ruconomic
|
2
|
+
module API
|
3
|
+
module ProjectGroup
|
4
|
+
extend Ruconomic::WebService
|
5
|
+
|
6
|
+
# Returns a project group data object for a given project group.
|
7
|
+
# Parameters: entityHandle: A handle for the project 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=ProjectGroup_GetData
|
11
|
+
# @return [Hash] The body content of the SOAP response.
|
12
|
+
def self.get_data
|
13
|
+
response = invoke('ProjectGroup_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 project group data objects for a given set of project group handles.
|
19
|
+
# Parameters: entityHandles: An array of the project group 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=ProjectGroup_GetDataArray
|
23
|
+
# @return [Hash] The body content of the SOAP response.
|
24
|
+
def self.get_data_array
|
25
|
+
response = invoke('ProjectGroup_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
|
+
# Get the number of a project group.
|
31
|
+
# Parameters: projectGroupHandle: Handle for the project group.
|
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=ProjectGroup_GetNumber
|
35
|
+
# @return [Hash] The body content of the SOAP response.
|
36
|
+
def self.get_number
|
37
|
+
response = invoke('ProjectGroup_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
|
+
# Get the name of a project group.
|
43
|
+
# Parameters: projectGroupHandle: Handle for the project group.
|
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=ProjectGroup_GetName
|
47
|
+
# @return [Hash] The body content of the SOAP response.
|
48
|
+
def self.get_name
|
49
|
+
response = invoke('ProjectGroup_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
|
+
# Returns handles for all project groups.
|
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=ProjectGroup_GetAll
|
58
|
+
# @return [Hash] The body content of the SOAP response.
|
59
|
+
def self.get_all
|
60
|
+
response = invoke('ProjectGroup_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 handles for the project group with a given number.
|
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=ProjectGroup_FindByNumber
|
69
|
+
# @return [Hash] The body content of the SOAP response.
|
70
|
+
def self.find_by_number
|
71
|
+
response = invoke('ProjectGroup_FindByNumber') 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
|
+
# Returns an array with handles for the project groups corresponding to the given project group numbers. If a project group with a given number does not exist then the array contains nothing at that index.
|
77
|
+
# Parameters: numbers: The numbers to search for.
|
78
|
+
#
|
79
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
80
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProjectGroup_FindByNumberList
|
81
|
+
# @return [Hash] The body content of the SOAP response.
|
82
|
+
def self.find_by_number_list
|
83
|
+
response = invoke('ProjectGroup_FindByNumberList') do |message|
|
84
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# Returns handles for all project groups with a given name.
|
89
|
+
#
|
90
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
91
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProjectGroup_FindByName
|
92
|
+
# @return [Hash] The body content of the SOAP response.
|
93
|
+
def self.find_by_name
|
94
|
+
response = invoke('ProjectGroup_FindByName') do |message|
|
95
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# Gets handles for projects of a project group.
|
100
|
+
# Parameters: projectGroupHandle: Handle for the project group.
|
101
|
+
#
|
102
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
103
|
+
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=ProjectGroup_GetProjects
|
104
|
+
# @return [Hash] The body content of the SOAP response.
|
105
|
+
def self.get_projects
|
106
|
+
response = invoke('ProjectGroup_GetProjects') do |message|
|
107
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/e-conomic#contributing"
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|