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.

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

SOLVED
Highlighted
Occasional Advisor

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?

2 REPLIES 2
Honored Contributor

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

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
Occasional Advisor

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

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