getObject


SoftLayer_Dns_Domain_ResourceRecord_SrvType::getObject

Retrieve a SoftLayer_Dns_Domain_ResourceRecord_SrvType record.

Overview

getObject retrieves the SoftLayer_Dns_Domain_ResourceRecord_SrvType object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Dns_Domain_ResourceRecord_SrvType service. You can only retrieve resource records belonging to domains that are assigned to your SoftLayer account.


Parameters

Name Type Description

Required Headers

  • SoftLayer_Dns_Domain_ResourceRecord_SrvTypeInitParameters
  • authenticate

Optional Headers

  • SoftLayer_Dns_Domain_ResourceRecord_SrvTypeObjectMask
  • SoftLayer_Dns_Domain_ResourceRecord_SrvTypeObjectFilter
  • 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.