cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1334
Views
0
Helpful
1
Replies

REST API for userAPIExecuteVMAction

mdivis
Cisco Employee
Cisco Employee

Hello,

I'm trying to get the infrastructure stack information for a particular VM via REST API call like this:

/app/api/rest?formatType=json&opName=userAPIExecuteVMAction&opData={param0:24,param1:"customVMStackView",param2:"sample"}

I'm getting back this string:

{ "serviceResult":"24-6-14ce697fdb9", "serviceError":null, "serviceName":"InfraMgr", "opName":"userAPIExecuteVMAction" }

though the doc says I should get request ID as int

Now I'd like to get the actual results and I cannot find a way to do so.

I'd be grateful for any help.

Thanks,

Martin

1 Reply 1

Orf Gelbrich
Cisco Employee
Cisco Employee

Cisco UCS X-Series Energy Efficiency Offer