SoftLayer Hardware Server::getCost
From SoftLayer Development Network Wiki
getCost is a member of the SoftLayer_Hardware_Server service.
Contents |
Overview
Retrieve the cost for a server.
User Access
Users wishing to execute getCost must have the following permissions assigned to their account:
- View Account Summary
- View Hardware Details
Return Type
getCost returns the float data type.
Headers
Required Headers
getCost requires the following headers set:
Error Handling
getCost throws the following exceptions:
- SoftLayer
- Exception Throw the error "Server cost not found." if 's systems are unable to determine the server's cost.

