Support

Home Forums Event Espresso Premium REST API Registration Status Endpoint Error

REST API Registration Status Endpoint Error

Posted: January 26, 2016 at 8:22 am


Akseli Olavi Ahopelto

January 26, 2016 at 8:22 am

Hello,
I’m developing an ASP.net MVC application that accesses EE data through the new REST API. The issue I’m having is the following:

When calling the endpoint at: http://outurl.domain/wp-json/ee/v4.8.29/registrations/xxx/status

I get the following error: (xxx is obviously replaced by the registration number)

{“code”:”endpoint_parsing_error”,”message”:”There is no model for endpoint Statu. Please contact event espresso support”,”data”:null}

I understand that this endpoint would allow me to access the “Approved, Incomplete…” condition for each registration.

Thank you!


Josh

  • Support Staff

January 26, 2016 at 12:37 pm

Hi there,

It turns out this is something that needs to be fixed. There’s now an open ticket assigned to a developer, and when the fix is included in an update we’ll update this thread.

In the meantime a workaround that you can do is include the registration status. eg. you send a request to http://outurl.domain/wp-json/ee/v4.8.29/registrations/xxx/?include=Status and it will add a “status” entry to the registration response.


Akseli Olavi Ahopelto

February 1, 2016 at 2:23 pm

Thanks Josh,
I haven’t hadn’t had the opportunity to get back to you, but your workaround worked perfectly!
Thanks for the quick reply!

The support post ‘REST API Registration Status Endpoint Error’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso