SpiraPlan: REST Web Service (v6.0)

See all operations

POST: projects/{project_id}/risks/{risk_id}/mitigations?existing_risk_mitigation_id={existing_risk_mitigation_id}&creator_id={creator_id}

Description

Adds a risk mitigation to a risk

How to Execute

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/v6_0/RestService.svc/projects/{project_id}/risks/{risk_id}/mitigations?existing_risk_mitigation_id={existing_risk_mitigation_id}&creator_id={creator_id}

Request Parameters

Name Description
project_id The id of the project
risk_id The id of the risk
existing_risk_mitigation_id The id of the existing mitigation to insert before (null = end of the list)
creator_id The id of the user adding the mitigation (null = use authenticated user)

Request Body

Property Description
RiskMitigationId The id of the mitigation
RiskId The id of the risk the mitigation belongs to
Position The position of the step in the requirement
Description The description of this step
LastUpdateDate The date the step was last updated
ConcurrencyDate The date the step was edited
CreationDate The date the step was created
IsDeleted Is this mitigation deleted?
IsActive Is this mitigation active?
ReviewDate The scheduled review date (optional)

Return Data

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.

Property Description
RiskMitigationId The id of the mitigation
RiskId The id of the risk the mitigation belongs to
Position The position of the step in the requirement
Description The description of this step
LastUpdateDate The date the step was last updated
ConcurrencyDate The date the step was edited
CreationDate The date the step was created
IsDeleted Is this mitigation deleted?
IsActive Is this mitigation active?
ReviewDate The scheduled review date (optional)