Hi Postman Community ? Can someone please help me with data driven testing. And to perform it using array

You don’t.

You get the response from your first call and then create an array of all of the timestamps using the JavaScript map function.

Once you have the array, you have two options.

You can have a loop in the Tests tab of the first request that uses sendRequest() to hit the new API with the details from the array.

Or you can create a second request and use the array.shift() method to loop though the array.

An couple examples of using array shift is here.

https://community.postman.com/t/automate-post-request-with-different-variables-in-the-body-and-save-to-a-file/42937

https://community.postman.com/t/loop-through-values-from-get-to-next-put-request/41899/11

These are complex scenarios that you are trying to accomplish, and where I don’t mind giving to advice, you need to try these things out yourself and if you have issues, you can then ask more specific questions.