Found a way to do it if anyone ends up where I am. I’m using powershell for my example. The method is one.vmpool.info
$vc_body= "<?xml version='1.0'?><methodCall><methodName>one.vmpool.info</methodName><params><param><value>username:password</value></param><param><value><int>-2</int></value></param><param><value><int>-1</int></value></param><param><value><int>-1</int></value></param><param><value><int>-1</int></value></param><param><value>$env:COMPUTERNAME</value></param></params></methodCall>"
[xml]$vcvm= (Invoke-RestMethod -Uri "http://URL:2633/RPC2" -Method post -Body $vc_body|Select-Object *).outerxml.Replace( "<","<").Replace( ">",">")
Using the computer variable as the machine is calling in question is calling the api.
Not sure if it’s my issue but the response from the xmlrpc call was using </gt; for < > so i had to do a replace in the seconds line