SoftLayer Network Subnet IpAddress::getObject

From SoftLayer Development Network Wiki

Jump to: navigation, search

getObject is a member of the SoftLayer_Network_Subnet_IpAddress service.

Contents

Overview

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

User Access

Users wishing to execute getObject service must have the View Hardware permission assigned to their account.

Return Type

getObject returns the SoftLayer_Network_Subnet_IpAddress data type.

Headers

Required Headers

getObject requires the following headers:

Optional Headers

getObject may use the following headers:

Error Handling

getObject throws the following exceptions:

  • 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.
Personal tools