SpiraTeam: ImportExport SOAP Web Service

See all operations

Document_DeleteFromArtifact

Description

Deletes an attachment from an artifact. The attachment will still remain in the project

spiraImportExport.Document_DeleteFromArtifact(attachmentId2, (int)DataModel.Artifact.ArtifactTypeEnum.TestCase, testCaseId1);

Parameters

Type Name Required
intattachmentId - The id of the attachment to delete Yes
intartifactTypeId - The ID of the type of artifact being deleted Yes
intartifactId - The ID of the artifact to delete Yes

Return Value

-