Module: Eloqua::Export
- Included in:
- BulkClient
- Defined in:
- lib/eloqua_api/bulk/export.rb
Instance Method Summary collapse
-
#define_activity_export(export) ⇒ Object
(also: #define_activities_export)
Version 2.0 of the Bulk API.
- #define_export(export) ⇒ Object
- #delete_export(export_uri, options = {}) ⇒ Object
- #delete_export_definition(export_uri, options = {}) ⇒ Object
- #retrieve_activity_export(export_uri, options = {}) ⇒ Object (also: #retrieve_activities_export)
- #retrieve_export(export_uri, options = {}) ⇒ Object
Instance Method Details
#define_activity_export(export) ⇒ Object Also known as: define_activities_export
Version 2.0 of the Bulk API
17 18 19 |
# File 'lib/eloqua_api/bulk/export.rb', line 17 def define_activity_export(export) post("activities/exports", export) end |
#define_export(export) ⇒ Object
3 4 5 |
# File 'lib/eloqua_api/bulk/export.rb', line 3 def define_export(export) post("contact/export", export) end |
#delete_export(export_uri, options = {}) ⇒ Object
33 34 35 |
# File 'lib/eloqua_api/bulk/export.rb', line 33 def delete_export(export_uri, ={}) delete("%s/data" % export_uri) end |
#delete_export_definition(export_uri, options = {}) ⇒ Object
29 30 31 |
# File 'lib/eloqua_api/bulk/export.rb', line 29 def delete_export_definition(export_uri, ={}) delete(export_uri) end |
#retrieve_activity_export(export_uri, options = {}) ⇒ Object Also known as: retrieve_activities_export
22 23 24 25 26 |
# File 'lib/eloqua_api/bulk/export.rb', line 22 def retrieve_activity_export(export_uri, ={}) [:limit] ||= 50000 get("%s/data" % export_uri, ) end |
#retrieve_export(export_uri, options = {}) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/eloqua_api/bulk/export.rb', line 7 def retrieve_export(export_uri, ={}) [:page] ||= 1 [:pageSize] ||= 50000 get("%s/data" % export_uri, ) end |