Expand my Community achievements bar.

Getting batches of a particular dataset within a specific timeperiod.

Avatar

Level 2

Hi is there any API call, that can give the list of all the batches that were ran for a specific dataset 'A' overall till today and  between time period from 'B' to 'C'.

Complete list of batches.

5 Replies

Avatar

Community Advisor

@JettyRo  - Hope the below works to fetch all batch ID's specific to dataset, you need to make sure to have all other parameter to filter the response accordingly. 

https://platform.adobe.io/data/foundation/catalog/batches?batch={{batch}}&connection={{connection}}&... 

Thank you,

Jayakrishnaa P.

I am not able to open the link... can you type the complete endpoint. so that I can try it.

 

Avatar

Community Advisor

This isn't actual link to access, "GET" address to get all batches that you need to use on the postman service API. There are other parameter that you can check and filter the response accordingly. 

?batch={{batch}}&connection={{connection}}&connector={{connector}}&dataSet={{dataset}}&recordCount={{recordCount}}&size={{size}}&status={{status}}&started={{started}}&completed={{completed}}&startAfter={{startAfter}}&startBefore={{startBefore}}&endAfter={{endAfter}}&endBefore={{endBefore}}

I did try this, but if I am using startAfter={{startAfter}}&startBefore={{startBefore}} it is returning empty result though there are batches for the daaset , and are shown in API.

when I am using updatedafter... then it is giving me correct list of batches.. but..

it is not giving me a complete list.. it is just giving like some 10 or 12... though there are more than that .

Avatar

Community Advisor

oh yes, I too tried with other parameters and the response is getting squeezed. let us wait for response from experts on this forum. If not, I would suggest to create an adobe support ticket and get it clarified.