SpiraPlan: REST Web Service (v7.0)
Returns the number of risks that match the filter.
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/projects/{project_id}/risks/count
<ArrayOfRemoteFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v7_0.DataObjects"> <RemoteFilter> <DateRangeValue i:nil="true" /> <IntValue i:nil="true" /> <MultiValue i:nil="true" /> <PropertyName i:nil="true" /> <StringValue i:nil="true" /> </RemoteFilter> </ArrayOfRemoteFilter>
[{"PropertyName":null, "IntValue":null, "StringValue":null, "MultiValue":null, "DateRangeValue":null}]
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.
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</long>
0