 |
AttachmentTransferUpload_Attachment_File Method |
Uploads a file to the Epic File Storage
Namespace:
ASI.TAM.API.Web.EpicSDK.Attachment
Assembly:
ASI.TAM.API.Web.EpicSDK (in ASI.TAM.API.Web.EpicSDK.dll) Version: 2021.1.0.1
Syntaxstring Upload_Attachment_File(
Stream FileDataStream
)
Function Upload_Attachment_File (
FileDataStream As Stream
) As String
Dim instance As AttachmentTransfer
Dim FileDataStream As Stream
Dim returnValue As String
returnValue = instance.Upload_Attachment_File(FileDataStream)
Parameters
- FileDataStream
- Type: System.IOStream
IO.Stream containing file data
Return Value
Type:
StringA TicketID to be used when inserting attachments through SDK
Remarks
The ticket ID is used to populate the FileItem property of the Attachment object to be inserted,
then call Insert_Attachment on that object which will create a new Epic attachment containing the file.
See Also