test/fixtures/campaigns.json in createsend-5.1.1 vs test/fixtures/campaigns.json in createsend-6.0.0

- old
+ new

@@ -1,26 +1,37 @@ -[ - { - "WebVersionURL": "http://createsend.com/t/r-765E86829575EE2C", - "WebVersionTextURL": "http://createsend.com/t/r-765E86829575EE2C/t", - "CampaignID": "fc0ce7105baeaf97f47c99be31d02a91", - "Subject": "Campaign One", - "Name": "Campaign One", - "FromName": "My Name", - "FromEmail": "myemail@example.com", - "ReplyTo": "myemail@example.com", - "SentDate": "2010-10-12 12:58:00", - "TotalRecipients": 2245 - }, - { - "WebVersionURL": "http://createsend.com/t/r-DD543566A87C9B8B", - "WebVersionTextURL": "http://createsend.com/t/r-DD543566A87C9B8B/t", - "CampaignID": "072472b88c853ae5dedaeaf549a8d607", - "Subject": "Campaign Two", - "Name": "Campaign Two", - "FromName": "My Name", - "FromEmail": "myemail@example.com", - "ReplyTo": "myemail@example.com", - "SentDate": "2010-10-06 16:20:00", - "TotalRecipients": 11222 - } -] +{ + "Results": [ + { + "WebVersionURL": "http://createsend.com/t/r-765E86829575EE2C", + "WebVersionTextURL": "http://createsend.com/t/r-765E86829575EE2C/t", + "CampaignID": "fc0ce7105baeaf97f47c99be31d02a91", + "Subject": "Campaign One", + "Name": "Campaign One", + "FromName": "My Name", + "FromEmail": "myemail@example.com", + "ReplyTo": "myemail@example.com", + "SentDate": "2010-10-12 12:58:00", + "TotalRecipients": 2245, + "Tags": [] + }, + { + "WebVersionURL": "http://createsend.com/t/r-DD543566A87C9B8B", + "WebVersionTextURL": "http://createsend.com/t/r-DD543566A87C9B8B/t", + "CampaignID": "072472b88c853ae5dedaeaf549a8d607", + "Subject": "Campaign Two", + "Name": "Campaign Two", + "FromName": "My Name", + "FromEmail": "myemail@example.com", + "ReplyTo": "myemail@example.com", + "SentDate": "2010-10-06 16:20:00", + "TotalRecipients": 11222, + "Tags": ["tagexample"] + } + ], + "ResultsOrderedBy": "sentdate", + "OrderDirection": "desc", + "PageNumber": 1, + "PageSize": 1000, + "RecordsOnThisPage": 2, + "TotalNumberOfRecords": 2, + "NumberOfPages": 1 +} \ No newline at end of file