Get the preferred Java packages compatible with agents in bulk.

This command gets the preferred Java packages compatible with the platforms of a set of agents. If no such package is currently defined for an agent, then no content is returned for the respective sub-request. Individual sub-requests may succeed or fail independently. A single request may contain up to 250 sub-requests.


POST https://{hostname}:{port}
Accept: application/json
Content-Type: application/json
Table 1. Header parameters
Parameter Type Required Description
Content-Type application/json true
Accept application/json true
This command takes a JSON request string or file. Use the following template for the request:
  "README": "See entity attribute for the template 
  description expected by this endpoint.",
  "entity": [{"agent": "Name or ID of the agent"}]

Related CLI command: bulkGetPreferredJavaPackageForAgent.