Module: Ruconomic::API::MileageEntry

Extended by:
WebService
Defined in:
lib/ruconomic/api/mileage_entry.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 mileage entry. Parameters: project: The project of the new mileage entry. activity: The activity of the new mileage entry. employee: The employee of the new mileage entry. date: The date of the new mileage entry. text: The text of the new mileage entry. numberOfHours: The number of hours of the new mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



132
133
134
135
136
# File 'lib/ruconomic/api/mileage_entry.rb', line 132

def self.create
  response = invoke('MileageEntry_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 mileage entry from a data object. Parameters: data: The data object that specifies the properties of the new mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



60
61
62
63
64
# File 'lib/ruconomic/api/mileage_entry.rb', line 60

def self.create_from_data
  response = invoke('MileageEntry_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 mileage entries from data objects. Parameters: dataArray: The array of data objects that specifies the properties of the new mileage entries.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



72
73
74
75
76
# File 'lib/ruconomic/api/mileage_entry.rb', line 72

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

.deleteHash

Note:

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

Deletes a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



155
156
157
158
159
# File 'lib/ruconomic/api/mileage_entry.rb', line 155

def self.delete
  response = invoke('MileageEntry_Delete') 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

Returns handles for all mileage entries.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



143
144
145
146
147
# File 'lib/ruconomic/api/mileage_entry.rb', line 143

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

.get_approvedHash

Note:

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

Gets whether the mileage entry is approved. Parameters: mileageEntryHandle: Handle for the mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



48
49
50
51
52
# File 'lib/ruconomic/api/mileage_entry.rb', line 48

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

.get_cost_priceHash

Note:

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

Gets the cost price of the mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



239
240
241
242
243
# File 'lib/ruconomic/api/mileage_entry.rb', line 239

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

.get_cost_rateHash

Note:

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

Gets the cost rate used by a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



251
252
253
254
255
# File 'lib/ruconomic/api/mileage_entry.rb', line 251

def self.get_cost_rate
  response = invoke('MileageEntry_GetCostRate') 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 mileage entry data object for a given mileage entry. Parameters: entityHandle: A handle for the mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



108
109
110
111
112
# File 'lib/ruconomic/api/mileage_entry.rb', line 108

def self.get_data
  response = invoke('MileageEntry_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 mileage entries data objects for a given set of mileage entry handles. Parameters: entityHandles: An array of the mileage entries handles.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



120
121
122
123
124
# File 'lib/ruconomic/api/mileage_entry.rb', line 120

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

.get_dateHash

Note:

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

Gets the date of a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



215
216
217
218
219
# File 'lib/ruconomic/api/mileage_entry.rb', line 215

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

.get_distanceHash

Note:

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

Gets the distance of a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



24
25
26
27
28
# File 'lib/ruconomic/api/mileage_entry.rb', line 24

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

.get_employeeHash

Note:

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

Gets a handle for the employee of a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



191
192
193
194
195
# File 'lib/ruconomic/api/mileage_entry.rb', line 191

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

.get_end_locationHash

Note:

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

Gets the end location of a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



311
312
313
314
315
# File 'lib/ruconomic/api/mileage_entry.rb', line 311

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

.get_projectHash

Note:

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

Gets handle for the project of a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



167
168
169
170
171
# File 'lib/ruconomic/api/mileage_entry.rb', line 167

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

.get_sales_priceHash

Note:

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

Gets the sales price of the mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



227
228
229
230
231
# File 'lib/ruconomic/api/mileage_entry.rb', line 227

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

.get_sales_rateHash

Note:

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

Gets the sales rate used by a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



263
264
265
266
267
# File 'lib/ruconomic/api/mileage_entry.rb', line 263

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

.get_start_locationHash

Note:

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

Gets the start location of a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



287
288
289
290
291
# File 'lib/ruconomic/api/mileage_entry.rb', line 287

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

.set_dateHash

Note:

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

Sets the date of a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry. value: new date value.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



275
276
277
278
279
# File 'lib/ruconomic/api/mileage_entry.rb', line 275

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

.set_distanceHash

Note:

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

Sets the distance of a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry. value: new distance value.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



36
37
38
39
40
# File 'lib/ruconomic/api/mileage_entry.rb', line 36

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

.set_employeeHash

Note:

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

Sets the employee of a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry. value: new employee value.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



203
204
205
206
207
# File 'lib/ruconomic/api/mileage_entry.rb', line 203

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

.set_end_locationHash

Note:

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

Sets the end location of a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry. value: new end location value.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



12
13
14
15
16
# File 'lib/ruconomic/api/mileage_entry.rb', line 12

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

.set_projectHash

Note:

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

Sets the project of a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry. value: new project value.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



179
180
181
182
183
# File 'lib/ruconomic/api/mileage_entry.rb', line 179

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

.set_start_locationHash

Note:

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

Sets the start location of a mileage entry. Parameters: mileageEntryHandle: Handle for the mileage entry. value: new start location value.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



299
300
301
302
303
# File 'lib/ruconomic/api/mileage_entry.rb', line 299

def self.set_start_location
  response = invoke('MileageEntry_SetStartLocation') 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 mileage entry from a data object. Parameters: data: The data object.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



96
97
98
99
100
# File 'lib/ruconomic/api/mileage_entry.rb', line 96

def self.update_from_data
  response = invoke('MileageEntry_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 mileage entries from data objects. Parameters: dataArray: The array of data objects.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



84
85
86
87
88
# File 'lib/ruconomic/api/mileage_entry.rb', line 84

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