You cannot use the API call to directly get exactly what you want. You can easily get all the requests that were executed on a deployment by doing
GET /deployment/api/deployments/{deploymentID}/requests
But without specifying the "search" option.
Then you can just do a loop through all the returned results and manually check the "createdAt" date to see if request match what you're looking for.
Furthermore, if you want to only have the Day2 actions on the deployment itself (and not on resources inside it), check the "resourceIds" array of the request, it should contains only the deploymentID.
Original Message:
Sent: Apr 04, 2024 03:29 AM
From: APJ_vm
Subject: Get Deployment Requests (Day 2 Actions) between specified timeframe
Hi
I am trying to use the below api request to get any day 2 actions that have been triggered between or even after a specified date.
/deployment/api/deployments/{deploymentID}/requests?search=createdAt%3D%5B2024-04-01T00%3A00%3A00.000Z%2C2024-04-02T23%3A59%3A00.000Z%5D
Not even sure if this is possible, the swagger docs are not very clear on how to even construct the proper syntax for the search parameter.