Acronis Resource Management API - filter resources by policy_id not working
I am trying to utilize the Resource Management API (as well as Policy Management) to develop several custom reports that my organization wants. One of the reports is simply to export resource data aggregated by protection plan and resource type. Based on the API reference documentation (List all resources), I should be able to pull a list of resources that are assigned to a policy ID using the query parameter applied_to_policy_id. However, when I send a REST request to /resource_management/v4/resources with that filter, the response contains every resource we have in Acronis. I confirmed that some filters listed in the documentation seem functional (resource_id, applied_only), while others are not (applied_to_policy_id, applicable_to_policy_id, applied_to_policy_selection_id). Please provide necessary detail on what is necessary to fix the issues I am experiencing, as it appears that the API is expecting a different named parameter than provided in the documentation for this functionality.
As a follow-up question, the API documentation does not seem to provide a full list of accepted values for resource type. It is listed as string data type instead of an enumerated type, so I expect there is a link to a set of string values somewhere in the docs. Please provide this as well.