Please contact Aronis support for setup assistance.
GenericConnector(config, **kwargs)
name =
'Sync To External Systems'
description =
'Synchronizes LeanIX Fact Sheet updates to an external system.'
conditions =
{'event_types': ['FactSheetUpdatedEvent'], 'fs_types': ['Application']}
supports_initial_sync =
True
def
handle(self, event, fs, **kwargs):
Called automatically whenever a relevant event comes in via webhook.
def
get_sync_descriptor(self, fs_type):
def
get_table_name(self, fs_type):
def
get_mappings(self, fs_type):
def
get_mapping(self, fs_type, field):
def
get_foreign_field_name(self, fs_type, field):
def
get_subscription_reference_table(self, fs_type, field):
def
get_subscription_reference_field(self, fs_type, field):
def
get_foreign_value(self, fs_type, field):
def
get_id_from_reference_table(self, fs_type, field, name, table_field='name'):
def
update_attributes(self, fs):
def
create_record(self, fs):
def
get_update_transactions(self, field, fs):
def
delete_record(self, ext_id):
def
get_external_id(self, fs):
def
get_credential(self, credential_type):
def
get_record(self, table):
def
insert_record(self) -> str:
def
get_external_url(self, fs, table, ext_id):
def
get_user_id(self, mail, table, mail_field, standard=False):
def
get_record_class(self):
def
update_attribute(self, key, value):