"SoftLayer_" prefix removed for readability.
Retrieve a file attached to a ticket.
Retrieve the file attached to a SoftLayer ticket by it’s given identifier. To retrieve a list of files attached to a ticket either call the SoftLayer_Ticket::getAttachedFiles method or call SoftLayer_Ticket::getObject with ‘‘attachedFiles’’ defined in an object mask.
Name | Type | Description |
---|---|---|
attachmentId | integer | The id of the attachment to retrieve |
Throw the exception “File {attachmentId} is not attached to ticket {ticketId}.” if the given file is not attached to the given ticket.
Throw the exception “File does not exist: file not found.” if the given file is attached to the ticket, but not present in SoftLayer’s attachment backend filesystem.
Throw the exception “Unable to load a valid ticket file attachment.” exists but is not retrievable by the API.