| { |
| "type":"filtering-rule-set-defined", |
| "eventId":0, |
| "aggregateId":"FilteringRule/bart", |
| "rules":[ |
| { |
| "id":"id-from", |
| "name":"a name", |
| "condition": { |
| "field": "from", |
| "comparator": "contains", |
| "value": "A value to match 4" |
| }, |
| "action": { |
| "appendIn": { |
| "mailboxIds":["mbx1"] |
| } |
| } |
| }, |
| { |
| "id":"id-rcpt", |
| "name":"a name", |
| "condition": { |
| "field": "recipient", |
| "comparator": "not-exactly-equals", |
| "value": "A value to match 3" |
| }, |
| "action": { |
| "appendIn": { |
| "mailboxIds":["mbx1"] |
| } |
| } |
| }, |
| { |
| "id":"id-subject", |
| "name":"a name", |
| "condition": { |
| "field": "subject", |
| "comparator": "not-contains", |
| "value": "A value to match 2" |
| }, |
| "action": { |
| "appendIn": { |
| "mailboxIds":["mbx1"] |
| } |
| } |
| }, |
| { |
| "id":"id-to", |
| "name":"a name", |
| "condition": { |
| "field": "to", |
| "comparator": "exactly-equals", |
| "value": "A value to match 1" |
| }, |
| "action": { |
| "appendIn": { |
| "mailboxIds":["mbx1"] |
| } |
| } |
| } |
| ] |
| } |