cancel
Showing results for 
Search instead for 
Did you mean: 
Due to an issue with YouTube, inserting videos in your emails is showing an error. Until they are able to resolve this issue, we recommend using a different video hosting service. We will continue to monitor this outage and update you as we have more information.

.NET SDK doesn't implement limit or pagination for Event Registrant Collection Endpoint

Highlighted
Occasional Advisor

.NET SDK doesn't implement limit or pagination for Event Registrant Collection Endpoint

We are trying to retrieve all registrants for an event but have hit the default limit of 50.  The .NET SDK provides no means to override this.  We will try to modify our copy of the SDK in the interest of time, but wanted to let you know the ConstantContact.GetAllRegistrants method is not implemented correctly.

1 REPLY 1
CTCT Employee

Re: .NET SDK doesn't implement limit or pagination for Event Registrant Collection Endpoint

Hello,

Thank you for pointing this out. Normally, with other SDKs an array of parameters can be passed to the method, and one of these is “limit” which then gets appended to the URL. In the .NET SDK, this is replaced by single arguments, one of which being the limit. In this case, this was not written into the GetAllRegistrants method. I'll certainly create a feature request for this, as this would greatly extend the usefulness of that method.