SpiraPlan: SoapService SOAP Web Service

See all operations

Document_RetrieveById

Description

Retrieves a single project document by its id

1) For files it does not include the raw file data, you need to use Document_OpenById 2) It also retrieves the list of document versions

Example(s)

            remoteDocument = spiraImportExport.Document_RetrieveById(credentials, projectId, attachmentId3);
            

Parameters

Type Name Required
RemoteCredentials? credentials - The credentials for the API
intprojectId - The id of the project Yes
intattachmentId - The id of the attachment to retrieve Yes

Return Value

RemoteDocument - The document data object