test/fixtures/active_subscribers.json in createsend-0.0.1 vs test/fixtures/active_subscribers.json in createsend-0.0.2

- old
+ new

@@ -1,67 +1,69 @@ -[ - { - "EmailAddress": "subs+7t8787Y@example.com", - "Name": "Subscriber One", - "Date": "2010-10-25 10:28:00", - "State": "Active", - "CustomFields": [ - { - "Key": "website", - "Value": "http://example.com" - }, - { - "Key": "age", - "Value": "24" - }, - { - "Key": "subscription date", - "Value": "2010-03-09" - } - ] - }, - { - "EmailAddress": "subs+7878787y8ggg@example.com", - "Name": "Subscriber Two", - "Date": "2010-10-25 12:17:00", - "State": "Active", - "CustomFields": [ - { - "Key": "website", - "Value": "http://subdomain.example.com" - } - ] - }, - { - "EmailAddress": "subs+7890909i0ggg@example.com", - "Name": "Subscriber Three", - "Date": "2010-10-25 12:52:00", - "State": "Active", - "CustomFields": [ - { - "Key": "website", - "Value": "http://subdomain.example.com" - } - ] - }, - { - "EmailAddress": "example+1@example.com", - "Name": "Example One", - "Date": "2010-10-25 14:33:00", - "State": "Active", - "CustomFields": [] - }, - { - "EmailAddress": "example+2@example.com", - "Name": "Example Two", - "Date": "2010-10-25 14:33:00", - "State": "Active", - "CustomFields": [] - }, - { - "EmailAddress": "example+3@example.com", - "Name": "Example Three", - "Date": "2010-10-25 14:33:00", - "State": "Active", - "CustomFields": [] - } -] +{ + "Results": [ + { + "EmailAddress": "subs+7t8787Y@example.com", + "Name": "Person One", + "Date": "2010-10-25 10:28:00", + "State": "Active", + "CustomFields": [ + { + "Key": "website", + "Value": "http://example.com" + }, + { + "Key": "age", + "Value": "24" + }, + { + "Key": "subscription date", + "Value": "2010-03-09" + } + ] + }, + { + "EmailAddress": "subs+7878787y8ggg@example.com", + "Name": "Person Two", + "Date": "2010-10-25 12:17:00", + "State": "Active", + "CustomFields": [ + { + "Key": "website", + "Value": "http://subdomain.example.com" + } + ] + }, + { + "EmailAddress": "subs+7890909i0ggg@example.com", + "Name": "Person Three", + "Date": "2010-10-25 12:52:00", + "State": "Active", + "CustomFields": [ + { + "Key": "website", + "Value": "http://subdomain.example.com" + } + ] + }, + { + "EmailAddress": "subs@example.com", + "Name": "Person Four", + "Date": "2010-10-27 13:13:00", + "State": "Active", + "CustomFields": [] + }, + { + "EmailAddress": "joey@example.com", + "Name": "Person Five", + "Date": "2010-10-27 13:13:00", + "State": "Active", + "CustomFields": [] + } + ], + "ResultsOrderedBy": "email", + "OrderDirection": "asc", + "PageNumber": 1, + "PageSize": 1000, + "RecordsOnThisPage": 5, + "TotalNumberOfRecords": 5, + "NumberOfPages": 1 +} \ No newline at end of file