I am trying to figure out on the below case
I need to access the filters applied on attributes used in the segmentation model used in the campaign.
Then use the filters to derive some additional data fields for the contact.
For e.g. IA_TYPE = 'Sales' AND IA_DATE )in last 3 days)
Then use the above filters to further derive other attributes e.g. product, offer etc.
Then send this info to the external system
Any idea as to how this can be achieved in Hybris marketing 1702.
Ideally cl_gseg_sm_services=>read_segmodel_data should give you all the valid filters for your Segmentation model. Just get the GUID for model from using method CONVERT_MODEL_ID_TO_GUID of same class and pass it to iv_segmodel_guid.
Optionally, You can check tables GSEG_D_SM_ROOT and GSEG_D_SEG_SELRU.
You can pass the Segmentation Model ID to GSEG_D_SM_ROOT and get the DB_KEY which will be ROOT_KEY for GSEG_D_SEG_SELRU. Here you should be able to find all the filter.