getItemPricesFromSoftwareDescriptions


SoftLayer_Hardware_Server::getItemPricesFromSoftwareDescriptions

Return a collection of SoftLayer_Item_Price objects from a collection of SoftLayer_Software_Description

Description

Return a collection of SoftLayer_Item_Price objects from a collection of SoftLayer_Software_Description

Parameters

Name Type Description
softwareDescriptions SoftLayer_Software_Description[] The software that the item prices will be returned for.
includeTranslationsFlag boolean The flag to specify whether software translations should be considered when looking at the software descriptions.
returnAllPricesFlag boolean The flag to specify whether all item prices or just the first price for the software descriptions.

Required Headers

Optional Headers

Return Values

Error Handling

  • Throws the exception ‘Unable to locate billing item.’ when the billing item cannot be determined.
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Software_Description, boolean, boolean]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_Server/{SoftLayer_Hardware_ServerID}/getItemPricesFromSoftwareDescriptions'