FuelSDK-Python
FuelSDK-Python copied to clipboard
Using multiple search terms
I'm attempting to use a filter with left and right operands, but I get a KeyError: 'LeftOperand':
getFolder.search_filter = {'leftOperand': {'Property': 'Name', 'SimpleOperator': 'equal', 'Value': 'MyTestEmails'}, 'LogicalOperator': 'and', 'rightOperand': {'Property': 'ParentFolder', 'SimpleOperator' : 'equal', 'Value': 'my emails'}}
Please check our example code here Please try to follow the proper case while mentioning LeftOperand, RightOperand, AND Also spelling of equals instead of equal. Hope these should resolve your issue.