addUpdate


SoftLayer_Ticket::addUpdate

Add an update to a ticket.

Description

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

Name Type Description
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.

Required Headers

Optional Headers

Return Values

Error Handling

  • Throw the exception “Unable to add ticket update..” if the API was unable to process the new ticket update.
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Ticket_Update, SoftLayer_Container_Utility_File_Attachment]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Ticket/{SoftLayer_TicketID}/addUpdate'