Ticket
SoftLayer_Ticket::addUpdate

Overview

Add an update to a ticket. A ticket update's entry has a maximum length of 4000 characters, so addUpdate() splits the entry property in the templateObject parameter into 3900 character blocks and creates one entry per 3900 character block. Once complete addUpdate() emails the ticket's owner and additional email addresses with an update message if the ticket's notifyUserOnUpdateFlag is set. If the ticket is a Legal or Abuse ticket, then the account's abuse emails are also notified when the updates are processed. Finally, addUpdate() returns an array of the newly created ticket updates.

Parameters

templateObject

SoftLayer_Ticket_Update

The update to add to the ticket

attachedFiles

SoftLayer_Container_Utility_File_Attachment

An array of no more than two files to attach to your ticket.

saveFlag

boolean

Whether or not to call save() which might trigger duplicate emails

Headers

SoftLayer_TicketObjectMask, SoftLayer_ObjectMask
authenticate, SoftLayer_TicketInitParameters

Return Values

an array of SoftLayer_Ticket_Update

Error Handling

  • SoftLayer_Exception_Public: Throw the exception "Unable to create a ticket update longer than 19000 characters." if the entry property in templateObject is over 19000 characters long.
  • SoftLayer_Exception_Public: Throw the exception "Unable to add ticket update.." if the API was unable to process the new ticket update.