def get_recyclebin_records(self): try: from .Handler import MassEntityAPIHandler except ImportError: from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance(self).get_recyclebin_records()
def update_records(self, record_ins_list): try: from .Handler import MassEntityAPIHandler except ImportError: from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance(self).update_records( record_ins_list)
def mass_update_records(self, entityid_list, field_api_name, value): try: from .Handler import MassEntityAPIHandler except ImportError: from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance(self).update_mass_records( entityid_list, field_api_name, value)
def search_records_by_email(self, email, page=0, per_page=200): try: from .Handler import MassEntityAPIHandler except ImportError: from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance(self).search_records( email, page, per_page, 'email')
def search_records_by_criteria(self, criteria, page=0, per_page=200): try: from .Handler import MassEntityAPIHandler except ImportError: from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance(self).search_records( criteria, page, per_page, 'criteria')
def search_records_by_phone(self, phone, page=0, per_page=200): try: from .Handler import MassEntityAPIHandler except ImportError: from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance(self).search_records( phone, page, per_page, 'phone')
def search_records(self, search_word, page=0, per_page=200): try: from .Handler import MassEntityAPIHandler except ImportError: from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance(self).search_records( search_word, page, per_page, 'word')
def get_permanently_deleted_records(self): try: from .Handler import MassEntityAPIHandler except ImportError: from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance( self).get_permanently_deleted_records()
def delete_records(self, entityid_list): try: from .Handler import MassEntityAPIHandler except ImportError: from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance(self).delete_records( entityid_list)
def get_records(self, cvid=None, sort_by=None, sort_order=None, page=0, per_page=200): from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance(self).get_records( cvid, sort_by, sort_order, page, per_page)
def get_records(self, cvid=None, sort_by=None, sort_order=None, page=0, per_page=200, since=None): try: from .Handler import MassEntityAPIHandler except ImportError: from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance(self).get_records( cvid, sort_by, sort_order, page, per_page, since)
def get_recyclebin_records(self): from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance(self).get_recyclebin_records()
def get_all_deleted_records(self): from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance( self).get_all_deleted_records()
def delete_records(self, entityid_list): from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance(self).delete_records( entityid_list)
def update_records(self, record_ins_list): from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance(self).update_records( record_ins_list)
def search_records(self, search_word, page=0, per_page=200): from Handler import MassEntityAPIHandler return MassEntityAPIHandler.get_instance(self).search_records( search_word, page, per_page)