SpiraPlan: REST Web Service (v5.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/v5_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.v5_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>
[{"ArtifactDescription":null, "ArtifactId":0, "ArtifactName":null, "ArtifactTypeId":0, "ArtifactTypeName":null, "LastUpdateDate":"\/Date(-62135578800000-0500)\/", "ProjectId":0, "ProjectName":null, "UserFullName":null, "UserId":0}]