Discussions
/api/EventRegistration change for non-registered persons?
about 3 years ago by Lee
Hello,
Previously (not sure since what version, but prior to 20.3.6x I suppose) this endpoint used to return 404 if the user id portion of the "registration id" was never registered to the event.
e.g. /api/EventRegistration/EVENTID-USERID
Now it returns a kind of object that is missing a lot of properties.
Is this intended? I mean I suppose the easy way to check if a user hasn't registered is to check for the presence of the "Status" property but that's a little weird.
Thanks.