awesome, thank you…. – i am curious if there is a way to automate the requests and pull only new data each API call? – this would be fine, as we can manually set the new entries to pull, but was hoping to have it fully automated to append new entries as tickets become registered
i am curious if there is a way to automate the requests and pull only new data each API call?
I’m not sure I follow, how would you define ‘new’ data?
If I send a request to /wp-json/ee/v4.8.36/registrations/
And then you sent a request to /wp-json/ee/v4.8.36/registrations/
How does EE know the different between the two to define ‘new’ registrations?
REST API’s are stateless, which basically means that rather than relying on the server to remember the previous requests, REST requires each request to contain all of the info needed for the server to understand that request. So you would need ‘something’ within the request to define what is ‘new’ and I’m sure how you would do it, you could possibly use REG_date and do requests between a specific time but even then you would still end up with an overlap with multiple requests.
The support post ‘API call is only fetching 50 rows how do i set it for more?’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.