Forum Discussion
Clarification on Asynchronous vs Synchronous Behavior of Enhanced API for Dataset Refresh
- 1 year ago
Not sure if anything has changed recently but in general the API only allows you to request a refresh. With the Enhanced API you get a Request ID back.
Mind you , it is just a request, and it is (was?) asynchronous . If you want to know the status of your request you need to implement your own polling mechanism. Ideally with reasonable intervals (eg every five minutes). Without Request ID the indicator is the presence of and EndDate for the first entry in the refresh history. With Request ID (ie enhanced API) you can submit a polling query which returns the status for that Request ID.
Not sure if anything has changed recently but in general the API only allows you to request a refresh. With the Enhanced API you get a Request ID back.
Mind you , it is just a request, and it is (was?) asynchronous . If you want to know the status of your request you need to implement your own polling mechanism. Ideally with reasonable intervals (eg every five minutes). Without Request ID the indicator is the presence of and EndDate for the first entry in the refresh history. With Request ID (ie enhanced API) you can submit a polling query which returns the status for that Request ID.