Retrieve a SoftLayer_Hardware record.


getObject retrieves the SoftLayer_Hardware object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Hardware service. You can only retrieve the account that your portal user is assigned to.



Required Headers

Optional Headers

Return Values

Error Handling

  • Throw the error “Unable to find object with id of {id}.” if the given initialization parameter has an invalid id field.
  • Throw the error “Access Denied.” if the given initialization parameter id field is not the account id of the user making the API call.
  • Throw the error “Method has not been implemented for this object type.” id the method is used.
curl -g -u $SL_USER:$SL_APIKEY -X GET \