SpiraPlan: SoapService SOAP Web Service
See all operations
Document_OpenFile
Description
Returns the actual binary content of a file attachment in the system
Example(s)
byte[] attachmentData = spiraImportExport.Document_OpenFile(credentials, projectId, attachmentId1);
Parameters
Type | Name | Required |
---|---|---|
RemoteCredentials? | credentials - The API credentials | |
int | projectId - The id of the project | Yes |
int | attachmentId - The id of the file attachment to be retrieved | Yes |
Return Value
base64Binary - An array of bytes representing the attachment content