getCategories


SoftLayer_Product_Package::getCategories

Description

This is a collection of categories (SoftLayer_Product_Item_Category) associated with a package which can be used for ordering. These categories have several objects prepopulated which are useful when determining the available products for purchase. The categories contain groups (SoftLayer_Product_Package_Item_Category_Group) that organize the products and prices by similar features. For example, operating systems will be grouped by their manufacturer and virtual server disks will be grouped by their disk type (SAN vs. local). Each group will contain prices (SoftLayer_Product_Item_Price) which you can use determine the cost of each product. Each price has a product (SoftLayer_Product_Item) which provides the name and other useful information about the server, service or software you may purchase.

Parameters

None

Required Headers

Optional Headers

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Product_Package/{SoftLayer_Product_PackageID}/getCategories'