The API to gather deployments expiring between a date range throws an internal server error (500) in Aria Automation 8.18.1
Aria Automation 8.18.1
The issue is caused by a bug in Aria Automation (vRA) due to changes in the OData library after the Spring Boot upgrade for security reasons.
As a workaround, the below API call can be used :
GET https://<vRA-FQDN>/deployment/api/deployments?expiresAt=%5B<START_DATE>%2C<END_DATE>%5D&apiVersion=<API_Version>
Example: GET https:/<vRA-FQDN>deployment/api/deployments?expiresAt=%5B2024-03-30T07%3A00%3A00.000Z%2C2025-03-31T06%3A59%3A00.000Z%5D&apiVersion=2020-08-25
Where <START_DATE> and <END_DATE> should be replaced with the user’s desired date range (in UTC format), and <API_Version> should be replaced with the appropriate API Version.
A fix for this issue is included in VMware Cloud Foundation 9.