addAttachedVirtualGuest


SoftLayer_Ticket::addAttachedVirtualGuest

Attach a CloudLayer Computing Instance to a ticket.

Description

Attach the given CloudLayer Computing Instance to a SoftLayer ticket. An attachment provides an easy way for SoftLayer’s employees to quickly look up your records in the case of specific issues.

Parameters

Name Type Description
guestId int The internal identifier of the virtual guest record to attach.
callCommit boolean call commit or not

Required Headers

Optional Headers

Return Values

Error Handling

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

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [int, boolean]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Ticket/{SoftLayer_TicketID}/addAttachedVirtualGuest'