Retrieves all risks owned by the currently authenticated user
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):
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.
<ArrayOfRemoteRisk xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v7_0.DataObjects">
<RemoteRisk>
<ArtifactTypeId>0</ArtifactTypeId>
<ConcurrencyDate>0001-01-01T00:00:00</ConcurrencyDate>
<CustomProperties i:nil="true" />
<Guid i:nil="true" />
<IsAttachments>false</IsAttachments>
<ProjectGuid i:nil="true" />
<ProjectId>0</ProjectId>
<Tags i:nil="true" />
<ClosedDate i:nil="true" />
<ComponentId i:nil="true" />
<ComponentName i:nil="true" />
<CreationDate i:nil="true" />
<CreatorGuid i:nil="true" />
<CreatorId i:nil="true" />
<CreatorName i:nil="true" />
<Description i:nil="true" />
<GoalId i:nil="true" />
<IsDeleted>false</IsDeleted>
<LastUpdateDate>0001-01-01T00:00:00</LastUpdateDate>
<Name i:nil="true" />
<OwnerGuid i:nil="true" />
<OwnerId i:nil="true" />
<OwnerName i:nil="true" />
<ProjectGroupId i:nil="true" />
<ReleaseGuid i:nil="true" />
<ReleaseId i:nil="true" />
<ReleaseName i:nil="true" />
<ReleaseVersionNumber i:nil="true" />
<ReviewDate i:nil="true" />
<RiskDetectabilityId i:nil="true" />
<RiskDetectabilityName i:nil="true" />
<RiskExposure i:nil="true" />
<RiskId i:nil="true" />
<RiskImpactId i:nil="true" />
<RiskImpactName i:nil="true" />
<RiskProbabilityId i:nil="true" />
<RiskProbabilityName i:nil="true" />
<RiskStatusId i:nil="true" />
<RiskStatusName i:nil="true" />
<RiskTypeId i:nil="true" />
<RiskTypeName i:nil="true" />
</RemoteRisk>
</ArrayOfRemoteRisk>
[{"RiskId":null,
"ClosedDate":null,
"ComponentId":null,
"ComponentName":null,
"CreationDate":null,
"CreatorId":null,
"CreatorGuid":null,
"CreatorName":null,
"Description":null,
"IsDeleted":false,
"LastUpdateDate":"0001-01-01T00:00:00",
"Name":null,
"OwnerId":null,
"OwnerGuid":null,
"OwnerName":null,
"ReleaseId":null,
"ReleaseName":null,
"ReleaseVersionNumber":null,
"ReleaseGuid":null,
"ReviewDate":null,
"RiskImpactId":null,
"RiskImpactName":null,
"RiskProbabilityId":null,
"RiskProbabilityName":null,
"RiskStatusId":null,
"RiskStatusName":null,
"RiskTypeId":null,
"RiskTypeName":null,
"RiskExposure":null,
"ProjectGroupId":null,
"RiskDetectabilityId":null,
"RiskDetectabilityName":null,
"GoalId":null,
"ProjectId":0,
"ProjectGuid":null,
"ArtifactTypeId":0,
"ConcurrencyDate":"0001-01-01T00:00:00",
"CustomProperties":null,
"IsAttachments":false,
"Tags":null,
"Guid":null}]