SpiraPlan: SoapService SOAP Web Service

See all operations

Document_OpenVersion

Description

Returns the actual binary content of a specific version of an attachment in the system

Example(s)

            byte[] attachmentData = spiraImportExport.Document_OpenVersion(credentials, projectId, attachmentId1, attachmentVersionId);
            

Parameters

Type Name Required
RemoteCredentials? credentials - The API credentials
intprojectId - The id of the project Yes
intattachmentVersionId - The id of the attachment version to be retrieved Yes

Return Value

base64Binary - An array of bytes representing the attachment content