# Loop request by increase IDs, date and time

**URL:** <https://community.postman.com/t/loop-request-by-increase-ids-date-and-time/8487>\
**Category:** Help Hub\
**Created:** [October 21, 2019, 9:06pm UTC](https://community.postman.com/t/loop-request-by-increase-ids-date-and-time/8487 "2019-10-21T21:06:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![postmike1](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@postmike1](https://community.postman.com/u/postmike1)\
**Post date:** [October 21, 2019, 9:06pm UTC](https://community.postman.com/t/loop-request-by-increase-ids-date-and-time/8487/1 "2019-10-21T21:06:58Z")

</div>

I have a POST request, the body section has the code like below.  
I wish to increase the ID, date and time, is there a way in Postman that I can do this?

{  
“project”: {  
**“id”: 1000,**  
“name”: “project name 1”,  
“Settings”: {  
“startDate”: “24/10/2019 09:17”,  
**“date”: “25/10/2019”,**  
**“time”: “23:49”,**  
…

How to let Postman increase the ID by 15, increase the time by 10 minutes, but once it pass 23:58pm it will triger the date value to be adding 1 day?

So the above scripts will run as

{  
“project”: {  
**“id”: 1015,**  
“name”: “project name 1”,  
“Settings”: {  
“startDate”: “24/10/2019 09:17”,  
**“date”: “25/10/2019”,**  
**“time”: “23:59”**  
…

The next request:

{  
“project”: {  
**“id”: 1030,**  
“name”: “project name 1”,  
“Settings”: {  
“startDate”: “24/10/2019 09:17”,  
**“date”: “26/10/2019”,**  
**“time”: “00:09”,**  
…

Thanks for any hints!

---

<div class="post-metadata">

**Author:** ![singhsivcan](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/singhsivcan/32/1595_2.png) [@singhsivcan](https://community.postman.com/u/singhsivcan)\
**Post date:** [October 22, 2019, 5:40am UTC](https://community.postman.com/t/loop-request-by-increase-ids-date-and-time/8487/2 "2019-10-22T05:40:58Z")

</div>

Hi @postmike1, welcome to the community! 👋

You can [go through the solution mentioned here](https://community.postman.com/t/how-can-i-update-variable-values-in-json-body-of-a-request/2832/5), it’s similar to your problem.
