test/fixtures/segment_details.json in createsend-3.4.0 vs test/fixtures/segment_details.json in createsend-4.0.0
- old
+ new
@@ -1,17 +1,21 @@
{
"ActiveSubscribers": 0,
- "Rules": [
+ "RuleGroups": [
{
- "Subject": "EmailAddress",
- "Clauses": [
- "CONTAINS @hello.com"
+ "Rules": [
+ {
+ "RuleType": "EmailAddress",
+ "Clause": "CONTAINS @hello.com"
+ }
]
},
{
- "Subject": "Name",
- "Clauses": [
- "PROVIDED"
+ "Rules": [
+ {
+ "RuleType": "Name",
+ "Clause": "PROVIDED"
+ }
]
}
],
"ListID": "2bea949d0bf96148c3e6a209d2e82060",
"SegmentID": "dba84a225d5ce3d19105d7257baac46f",
\ No newline at end of file