I'm on looking for the API that retrieve the list of subnet and its prices.
For, Portable IP Addresses and the static found category ID as 279 and 281. And found for Global IPv4, Portable Public IPv6 and Global IPv6. We've done it through, Package ID 0 and joined with item names.
Is there any better way to get it? Or else what are the category ID for Global IPv4, Portable Public IPv6 and Global IPv6.
Thanks.
Well the Portal uses 3 pacakges to list the prices. I have examples in python I hope it helps you
To order the subnets
To get all category subnets, execute:
The Result will something like this:
To see the subnet packages ids and categories, please execute:
The result will something like this:
Where: “global_ipv4” and “global_ipv6” use the package 0.
Below are some examples to order some subnets: Global IP V6:
Global IP v4:
References:
http://sldn.softlayer.com/reference/services/SoftLayer_Virtual_Guest/editObject http://sldn.softlayer.com/reference/services/SoftLayer_Hardware_Server/editObject