addAttachedHardware


SoftLayer_Ticket::addAttachedHardware

Attach hardware to a ticket.

Overview

Attach the given hardware to a SoftLayer ticket. A hardware attachment provides an easy way for SoftLayer’s employees to quickly look up your hardware records in the case of hardware-specific issues.

Parameters

Name Type Description
hardwareId int The internal identifier of the hardware record to attach.

Required Headers

Optional Headers

Return Values

Error Handling

  • Throw the exception “Unable to attach null hardware to this ticket.” if no hardware identifier is provided.
  • Throw the exception “This hardware is already attached to this ticket.” if the given hardware is already attached to this ticket.
  • Throw the exception “You may not attach this hardware to this ticket.” if the user making the API call does not have permission to use the given hardware.
  • Throw the exception “Unable to attach hardware to this ticket.” if the API is unable to attach the given hardware to this ticket.

Associated Methods