You can use SoftLayer_Account::getSubnets with object masks and filters.
Below is a REST example can help you to get the same list of SL Portal:
https://[username]:[apikey]@api.softlayer.com/rest/v3/SoftLayer_Account/getSubnets?objectMask=mask[id,addressSpace,networkIdentifier,totalIpAddresses,version,networkVlan[id,vlanNumber,primaryRouter[id,hostname]],cidr,routingTypeKeyName]&objectFilter={ "subnets": { "addressSpace": { "operation": "PUBLIC" }, "version": { "operation": 4 } } }
Method: GET
Note: the object filters
are not implemented for Java client, please use other way to filter the Subnet list.