Open f4f343w4tcfwv4tz5tb5 opened 6 years ago
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.
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'}}