Add Asset Component to the Scope of a Risk Project

Adds an asset component to the scope of a risk project.

 

URL

{RMUrl}/api/risk/projects/<RiskProjectCode>/controlscope

 

REQUEST METHOD

POST

 

URL PARAMETER

RiskProjectID: This parameter is provided in the URL and does not need to be sent through POST.

 

FORM CONTENT

AssetComponent (Required): ID of the asset component to be added to the scope.

KnowledgeBase (Optional): Version of the knowledge base associated with the asset component to be included in the scope.

Survey (Optional): ID or CustomerID of the survey associated with the asset component's knowledge base.

Analyst (Optional): Analyst responsible for the asset component to be included in the scope. If this parameter is not completed, the person assigned as leader of the project will be assigned here.

Interviewee (Optional): Person responsible for answering the interview for the asset component. If this parameter is not completed, the person assigned as responsible for the asset to which the component belongs will be assigned here.

Reviewer (Optional): Person responsible for reviewing the interview for the asset component.

 

REQUEST EXAMPLE

{RMUrl}/api/risk/projects/PRJR12012/controlscope

 

FORM CONTENT EXAMPLE

Add an asset component to the scope using only the ID of the asset component:

{

"AssetComponent":{"Id":"2e9e86b0-1a14-11e2-ba75-001ec91f4b0a"}
}

 

Add an asset component to the scope using all options:

{

"AssetComponent":{"Id":"cbab065e-1a25-11e2-ba75-001ec91f4b0a" },

"KnowledgeBase":{"Version":2.0},

"Survey":{"CustomerID":"DEV-01.00000009"},

"Analyst":{"Name":"John Smith"},

"Interviewee":{"Name":"Julia Green"},

"Reviewer":{"Name":"Laura Morris"}

}

 

SUCCESS RESPONSE

ID of the newly added asset component. Returns an int.

 

SUCCESS RESPONSE EXAMPLE

HTTP status code 201: Created.