We all started somewhere! Share your experience on the Get Advice: Let's Get Started Sweepstakes thread and be entered to win a $100 credit on your Constant Contact account.

Registrant status from API call doesn't match that shown in UI

SOLVED
Go to solution
ChuckS303
Regular Participant

Registrant status from API call doesn't match that shown in UI

If users mark registrants as Attended or Not Attended in the campaign UI, the status for those registrants (in the "registration_status" field) is still REGISTERED when retrieving a registrants collection via the API.  The API documents refer to an attendance status field with values of ATTENDED and NOT_ATTENDED, but no such field is accessible through the .NET SDK for v2 API.  How can we determine whether a registrant has attended using the API?

1 ACCEPTED SOLUTION
Elijah_G
Member

Hello,

 

Thank you for reaching out to us about this! After investigating the SDK, it appeared that this field was simply not mapped in the registrant class for the SDK. The fix is very simple and we should be able to have it merged into our github repository very soon.

 

If you are interested, you can also see the fix as part of this pull request: https://github.com/constantcontact/.net-sdk/pull/34

 

If you have any questions, please let us know!

 

Sincerely,

Elijah G.
API Support Engineer

View solution in original post

2 REPLIES 2
Elijah_G
Member

Hello,

 

Thank you for reaching out to us about this! After investigating the SDK, it appeared that this field was simply not mapped in the registrant class for the SDK. The fix is very simple and we should be able to have it merged into our github repository very soon.

 

If you are interested, you can also see the fix as part of this pull request: https://github.com/constantcontact/.net-sdk/pull/34

 

If you have any questions, please let us know!

 

Sincerely,

Elijah G.
API Support Engineer

View solution in original post

ChuckS303
Regular Participant

Thanks for the information.  Once the AttendanceStatus property was added to the Registrant class we were able to correctly determine attendance status.

Developer Portal

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

Visit Page