Retrieve a SoftLayer_Network_Subnet record.


getObject retrieves the SoftLayer_Network_Subnet object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Network_Subnet service. You can only retrieve the subnet whose vlan is associated with the account that you portal user is assigned to.


Name Type Description

Required Headers

  • SoftLayer_Network_SubnetInitParameters
  • authenticate

Optional Headers

  • SoftLayer_Network_SubnetObjectMask
  • SoftLayer_Network_SubnetObjectFilter
  • SoftLayer_ObjectMask

Return Values

Error Handling

  • SoftLayer_Exception_ObjectNotFound

Throw the error “Unable to find object with id of {id}.” if the given initialization parameter has an invalid id field.

  • SoftLayer_Exception_AccessDenied

Throw the error “Access Denied.” if the given initialization parameter id field is not the account id of the user making the API call.