I am using the SOFTLAYER REST API in order to get the virtual machine list then select one of the results and get more details only about the selected machine.
I used this URL to get the machine details by hostname but i get all the machines as result and not the one i selected
URL :
https://api.softlayer.com/rest/v3.1/SoftLayer_Account/getVirtualGuests.json?objectMask=mask[id,hostname,fullyQualifiedDomainName,provisionDate,powerState,operatingSystem[id,passwords[password,username],softwareDescription[longDescription]]]&objectFilter={"hostname":{"operation":"SLRAMONT02"}}
What should i do the get the wright result?
I used python with the same url and I get the expected result but after a debug I found that python is converting the JSON to XML and using the SOAP API.
I'm not planning to use the python API but the JAVA. Can I make the same request using JAVA API?