SpiraPlan: REST Web Service (v7.0)
Retrieves a list of all the items the current user is subscribed to (all projects)
To access this REST web service, you need to use the following URL (make sure to replace any parameters (eg {project_id}) with the relevant value (eg 1):
https://api.inflectra.com/Spira/Services/v7_0/RestService.svc/subscriptions
Nothing Expected
The JSON and XML examples below show the shape of one entry that will be returned. It does not show an example of how that entry will be populated.
<ArrayOfRemoteArtifactSubscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v7_0.DataObjects"> <RemoteArtifactSubscription> <ArtifactDescription i:nil="true" /> <ArtifactId>0</ArtifactId> <ArtifactName i:nil="true" /> <ArtifactTypeId>0</ArtifactTypeId> <ArtifactTypeName i:nil="true" /> <LastUpdateDate>0001-01-01T00:00:00</LastUpdateDate> <ProjectId>0</ProjectId> <ProjectName i:nil="true" /> <UserFullName i:nil="true" /> <UserId>0</UserId> </RemoteArtifactSubscription> </ArrayOfRemoteArtifactSubscription>
[{"ArtifactId":0, "ArtifactTypeId":0, "ArtifactName":null, "ArtifactDescription":null, "ArtifactTypeName":null, "ProjectId":0, "ProjectName":null, "UserId":0, "LastUpdateDate":"0001-01-01T00:00:00", "UserFullName":null}]