SpiraPlan: SoapService SOAP Web Service

See all operations

Association_RetrieveForArtifact

Description

Retrieves a set of associations to the specified artifact

The source artifact type and id will be the same as the ones passed in

Example(s)

            RemoteSort remoteSort = new RemoteSort();
            remoteSort.PropertyName = "Comment";
            remoteSort.SortAscending = true;
            RemoteFilter remoteFilter = new RemoteFilter();
            remoteFilter.PropertyName = "ArtifactTypeId";
            remoteFilter.IntValue = (int)DataModel.Artifact.ArtifactTypeEnum.Incident;
            remoteAssociations = spiraImportExport.Association_RetrieveForArtifact((int)DataModel.Artifact.ArtifactTypeEnum.Incident, incidentId1, new RemoteFilter[] { remoteFilter }, remoteSort);
            

Parameters

Type Name Required
intartifactTypeId - The id of the artifact type Yes
intartifactId - The id of the artifact Yes
ArrayOfRemoteFilter? remoteFilters - The list of filters to apply
RemoteSort? remoteSort - The sort to apply

Return Value

ArrayOfRemoteAssociation - An array of association records