Module: Ruconomic::API::Project

Extended by:
WebService
Defined in:
lib/ruconomic/api/project.rb

Class Method Summary collapse

Class Method Details

.createHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Creates a new project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



11
12
13
14
15
# File 'lib/ruconomic/api/project.rb', line 11

def self.create
  response = invoke('Project_Create') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.create_from_dataHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Creates a new project from a data object. Parameters: data: The data object that specifies the properties of the new project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



165
166
167
168
169
# File 'lib/ruconomic/api/project.rb', line 165

def self.create_from_data
  response = invoke('Project_CreateFromData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.create_from_data_arrayHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Creates new projects from data objects. Parameters: dataArray: The array of data objects that specifies the properties of the new projects.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



177
178
179
180
181
# File 'lib/ruconomic/api/project.rb', line 177

def self.create_from_data_array
  response = invoke('Project_CreateFromDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.find_by_nameHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns handles for the projects with the given name. Parameters: name: The name to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



69
70
71
72
73
# File 'lib/ruconomic/api/project.rb', line 69

def self.find_by_name
  response = invoke('Project_FindByName') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.find_by_numberHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns a handle for the project with the given number. Parameters: number: The number to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



45
46
47
48
49
# File 'lib/ruconomic/api/project.rb', line 45

def self.find_by_number
  response = invoke('Project_FindByNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.find_by_number_listHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

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. Parameters: numbers: The numbers to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



57
58
59
60
61
# File 'lib/ruconomic/api/project.rb', line 57

def self.find_by_number_list
  response = invoke('Project_FindByNumberList') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_activitiesHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets handles for the activities allowed on the project. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



93
94
95
96
97
# File 'lib/ruconomic/api/project.rb', line 93

def self.get_activities
  response = invoke('Project_GetActivities') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_allHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Return handles for all projects.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



22
23
24
25
26
# File 'lib/ruconomic/api/project.rb', line 22

def self.get_all
  response = invoke('Project_GetAll') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_all_updatedHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

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.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



33
34
35
36
37
# File 'lib/ruconomic/api/project.rb', line 33

def self.get_all_updated
  response = invoke('Project_GetAllUpdated') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_dataHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns a project data object for a given project. Parameters: entityHandle: A handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



213
214
215
216
217
# File 'lib/ruconomic/api/project.rb', line 213

def self.get_data
  response = invoke('Project_GetData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_data_arrayHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns project data objects for a given set of project handles. Parameters: entityHandles: An array of the project handles.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



225
226
227
228
229
# File 'lib/ruconomic/api/project.rb', line 225

def self.get_data_array
  response = invoke('Project_GetDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_debtorHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets a handle for the debtor of a project. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



321
322
323
324
325
# File 'lib/ruconomic/api/project.rb', line 321

def self.get_debtor
  response = invoke('Project_GetDebtor') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_descriptionHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the description of a project. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



369
370
371
372
373
# File 'lib/ruconomic/api/project.rb', line 369

def self.get_description
  response = invoke('Project_GetDescription') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_entriesHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets handles for the entries of the project. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



141
142
143
144
145
# File 'lib/ruconomic/api/project.rb', line 141

def self.get_entries
  response = invoke('Project_GetEntries') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_entries_by_dateHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns handles for the entries of the project within the given time interval. Parameters: from: First day in interval. to: Last day in interval.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



153
154
155
156
157
# File 'lib/ruconomic/api/project.rb', line 153

def self.get_entries_by_date
  response = invoke('Project_GetEntriesByDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_is_accessibleHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets whether a project is accessible. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



393
394
395
396
397
# File 'lib/ruconomic/api/project.rb', line 393

def self.get_is_accessible
  response = invoke('Project_GetIsAccessible') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_is_closedHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets whether a project is closed. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



441
442
443
444
445
# File 'lib/ruconomic/api/project.rb', line 441

def self.get_is_closed
  response = invoke('Project_GetIsClosed') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_is_main_projectHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets whether a project is a main project. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



297
298
299
300
301
# File 'lib/ruconomic/api/project.rb', line 297

def self.get_is_main_project
  response = invoke('Project_GetIsMainProject') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_main_projectHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets which main project the project is attached to. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



309
310
311
312
313
# File 'lib/ruconomic/api/project.rb', line 309

def self.get_main_project
  response = invoke('Project_GetMainProject') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_mileageHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the mileage of the project. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



417
418
419
420
421
# File 'lib/ruconomic/api/project.rb', line 417

def self.get_mileage
  response = invoke('Project_GetMileage') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_mileage_entries_by_dateHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets handles for the mileage entries of the project within an interval. Parameters: from: First day in interval. to: Last day in interval.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



129
130
131
132
133
# File 'lib/ruconomic/api/project.rb', line 129

def self.get_mileage_entries_by_date
  response = invoke('Project_GetMileageEntriesByDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_nameHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the name of a project. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



249
250
251
252
253
# File 'lib/ruconomic/api/project.rb', line 249

def self.get_name
  response = invoke('Project_GetName') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_numberHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the number of a project. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



237
238
239
240
241
# File 'lib/ruconomic/api/project.rb', line 237

def self.get_number
  response = invoke('Project_GetNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_open_sub_projectsHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns handles for the open sub-projects for a given project, or all open sub-projects. Parameters: mainProjectHandle: Handle for main project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



81
82
83
84
85
# File 'lib/ruconomic/api/project.rb', line 81

def self.get_open_sub_projects
  response = invoke('Project_GetOpenSubProjects') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_project_groupHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets handle for project group of a project. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



273
274
275
276
277
# File 'lib/ruconomic/api/project.rb', line 273

def self.get_project_group
  response = invoke('Project_GetProjectGroup') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_responsibleHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the employee responsible for the project. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



345
346
347
348
349
# File 'lib/ruconomic/api/project.rb', line 345

def self.get_responsible
  response = invoke('Project_GetResponsible') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_time_entriesHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets handles for the time entries of the project. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



105
106
107
108
109
# File 'lib/ruconomic/api/project.rb', line 105

def self.get_time_entries
  response = invoke('Project_GetTimeEntries') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_time_entries_by_dateHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets handles for the time entries of the project within an interval. Parameters: from: First day in interval. to: Last day in interval.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



117
118
119
120
121
# File 'lib/ruconomic/api/project.rb', line 117

def self.get_time_entries_by_date
  response = invoke('Project_GetTimeEntriesByDate') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.set_debtorHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Sets a handle for the debtor of a project. Parameters: projectHandle: Handle for the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



333
334
335
336
337
# File 'lib/ruconomic/api/project.rb', line 333

def self.set_debtor
  response = invoke('Project_SetDebtor') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.set_descriptionHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Sets the description of a project. Parameters: projectHandle: Handle for the project. value: The new description of the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



381
382
383
384
385
# File 'lib/ruconomic/api/project.rb', line 381

def self.set_description
  response = invoke('Project_SetDescription') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.set_is_accessibleHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Sets whether a project is accessible. Parameters: projectHandle: Handle for the project. value: Value that indicates whether the project should be accessible.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



405
406
407
408
409
# File 'lib/ruconomic/api/project.rb', line 405

def self.set_is_accessible
  response = invoke('Project_SetIsAccessible') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.set_mileageHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Sets the mileage of the project. Parameters: projectHandle: Handle for the project. value: Value that indicates the mileage of the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



429
430
431
432
433
# File 'lib/ruconomic/api/project.rb', line 429

def self.set_mileage
  response = invoke('Project_SetMileage') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.set_nameHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Sets the name of a project. Parameters: projectHandle: Handle for the project. value: The new name of the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



261
262
263
264
265
# File 'lib/ruconomic/api/project.rb', line 261

def self.set_name
  response = invoke('Project_SetName') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.set_project_groupHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Sets the project group of a project. Parameters: projectHandle: Handle for the project. valueHandle: Handle for new project group of the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



285
286
287
288
289
# File 'lib/ruconomic/api/project.rb', line 285

def self.set_project_group
  response = invoke('Project_SetProjectGroup') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.set_responsibleHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Sets the employee responsible for the project. Parameters: projectHandle: Handle for the project. value: The new employee responsiblelity of the project.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



357
358
359
360
361
# File 'lib/ruconomic/api/project.rb', line 357

def self.set_responsible
  response = invoke('Project_SetResponsible') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.update_from_dataHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Updates a project from a data object. Parameters: data: The data object.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



201
202
203
204
205
# File 'lib/ruconomic/api/project.rb', line 201

def self.update_from_data
  response = invoke('Project_UpdateFromData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.update_from_data_arrayHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Update projects from data objects. Parameters: dataArray: The array of data objects.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



189
190
191
192
193
# File 'lib/ruconomic/api/project.rb', line 189

def self.update_from_data_array
  response = invoke('Project_UpdateFromDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end