module Responsys::Api::Table

Public Instance Methods

create_table(interact_object, fields) click to toggle source
# File lib/responsys/api/table.rb, line 4
def create_table(interact_object, fields)
  api_method(:create_table, { table: interact_object.to_api, fields: fields.map(&:to_api) })
end
create_table_with_pk(interact_object, fields, primary_keys) click to toggle source
# File lib/responsys/api/table.rb, line 8
def create_table_with_pk(interact_object, fields, primary_keys)
  api_method(:create_table_with_pk, { table: interact_object.to_api, fields: fields.map(&:to_api), primaryKeys: primary_keys })
end
delete_profile_extension_members(interact_object, query_column, ids_to_delete) click to toggle source
# File lib/responsys/api/table.rb, line 24
def delete_profile_extension_members(interact_object, query_column, ids_to_delete)
  api_method(:delete_profile_extension_members, { profileExtension: interact_object.to_api, queryColumn: query_column.to_api, idsToDelete: ids_to_delete })
end
delete_table(interact_object) click to toggle source
# File lib/responsys/api/table.rb, line 12
def delete_table(interact_object)
  api_method(:delete_table, { table: interact_object.to_api })
end
delete_table_records() click to toggle source
# File lib/responsys/api/table.rb, line 36
def delete_table_records

end
merge_into_profile_extension(interact_object, record_data, match_column, insert_on_no_match = false, update_on_match = "REPLACE_ALL") click to toggle source
# File lib/responsys/api/table.rb, line 16
def merge_into_profile_extension(interact_object, record_data, match_column, insert_on_no_match = false, update_on_match = "REPLACE_ALL")
  api_method(:merge_into_profile_extension, { profileExtension: interact_object.to_api, recordData: record_data.to_api, matchColumn: match_column, insertOnNoMatch: insert_on_no_match, updateOnMatch: update_on_match })
end
merge_table_records() click to toggle source
# File lib/responsys/api/table.rb, line 28
def merge_table_records

end
merge_table_records_with_pk(interact_object, record_data, insert_on_no_match = true, update_on_match = "REPLACE_ALL") click to toggle source
# File lib/responsys/api/table.rb, line 32
def merge_table_records_with_pk(interact_object, record_data, insert_on_no_match = true, update_on_match = "REPLACE_ALL")
  api_method(:merge_table_records_with_pk, { table: interact_object.to_api, recordData: record_data.to_api, insertOnNoMatch: insert_on_no_match, updateOnMatch: update_on_match }) 
end
retrieve_profile_extension_records(interact_object, query_column, field_list, ids_to_retrieve) click to toggle source
# File lib/responsys/api/table.rb, line 20
def retrieve_profile_extension_records(interact_object, query_column, field_list, ids_to_retrieve)
  api_method(:retrieve_profile_extension_records, { profileExtension: interact_object.to_api, queryColumn: query_column.to_api, fieldList: field_list, idsToRetrieve: ids_to_retrieve })
end
retrieve_table_records() click to toggle source
# File lib/responsys/api/table.rb, line 40
def retrieve_table_records

end
truncate_table() click to toggle source
# File lib/responsys/api/table.rb, line 44
def truncate_table

end