The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

ArchiveURL missing from Campaign details in API v2

Highlighted
Occasional Participant

ArchiveURL missing from Campaign details in API v2

Hi, I seem to be having an issue where there is no way to retrieve the ArchiveURL of a campaign.  We used the v1 API in an old project, and the campaign details included the ArchiveURL, but when using the v2 API, there is no archive_url or archive_status that comes back in the JSON.  The C# wrapper (which I'm using) even includes those properties on the EmailCampaign object, but they always come back as NULL because they never exist in the JSON.  Is this a bug, or is there some other way to get the ArchiveURL?

 

Thanks

1 REPLY 1
Highlighted
Moderator

Re: ArchiveURL missing from Campaign details in API v2

Hi Zach,

 

archive_url and archive_status are not supported in the v2 API. It's likely that this was included in the wrapper libraries when they were being built sumultaneously with the v2 API, assuming support for them. We apologize for the confusion of leaving them in the wrappers at this time. We're going to go to our product owner and confirm that this omission is by design. If so, we'll refactor our wrapper libraries to remove the functionality.

 

Regards,

Rich

Rich Marcucella
Sr. Technical Writer, Content Developer
Web Services Team
http://developer.constantcontact.com
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured