addAttachedAdditionalEmails


SoftLayer_Ticket::addAttachedAdditionalEmails

Add non-user email addresses to a ticket’s email notify list.

Description

Creates new additional emails for assigned user if new emails are provided. Attaches any newly created additional emails to ticket.

Parameters

Name Type Description
emails string[] A list of email addresses to notify when a ticket is updated

Required Headers

Optional Headers

  • None

Return Values

  • boolean

Error Handling

  • Throw the exception “This ticket does not have an assigned user. Could not add additional emails.” if the given ticket is not assigned to a user.
  • Throw the exception “Invalid email address(es) found: {list of invalid email addreses}” if one or more email addresses are invalid.

Associated Methods

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