FuelSDK-Python icon indicating copy to clipboard operation
FuelSDK-Python copied to clipboard

Using multiple search terms

Open f4f343w4tcfwv4tz5tb5 opened this issue 7 years ago • 1 comments

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'}}

f4f343w4tcfwv4tz5tb5 avatar Jan 29 '18 01:01 f4f343w4tcfwv4tz5tb5

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.

sharif26 avatar Jan 29 '18 19:01 sharif26