GitHub user bernardodemarco edited a comment on the discussion: How to call scaleVirtualMachine api with details parameter
APIs in CloudStack can be synchronous/blocking, or asynchronous/non-blocking. Async APIs return a `jobid`, which can be used to poll the result of the API call. Since the `scaleVirtualMachine` API is asynchronous, the `jobid` was returned, as expected. It means that the request was successfully authenticated and its response can be retrieved using the `queryAsyncJobResult` API: ```bash query asyncjobresult jobid="<job-id>" ``` When retrieving the result of a job related to the `scaleVirtualMachine` API, a successful response will be something like: ```bash (localcloud) 🐱 > query asyncjobresult jobid=75f6ebd3-e4ed-477c-b6ff-2577e2e56c30 { (...) "jobresult": { "virtualmachine": { "account": "admin", "affinitygroup": [], "cpunumber": 1, "cpuspeed": 512, "created": "2024-11-21T15:07:09+0000", "deleteprotection": false, "details": { "Message.ReservedCapacityFreed.Flag": "true", "cpuNumber": "1", "cpuSpeed": "512", "memory": "512" }, (...) } }, "jobresultcode": 0, "jobresulttype": "object", "jobstatus": 1, "userid": "203addbc-4b71-11ef-87b4-cec422422af1" } ``` Given that, could you check the return of the `queryAsyncJobResult` API? GitHub link: https://github.com/apache/cloudstack/discussions/9961#discussioncomment-11351608 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org