Edit Risk Project

Allows a project in the Risk module to be edited.

 

URL

{RMUrl}/api/risk/projects/<ProjectCode>

 

REQUEST METHOD

PUT

 

URL PARAMETER

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

 

FORM CONTENT

Name (Optional): Name of the project to be edited.

Leader (Optional): Person to be assigned as leader of the project.

SubstituteLeader (Optional): Person or group of people to be assigned as substitute leader of the project.

Description (Optional): Description of the project to be edited. Limit of 4,000 characters.

AdditionalInformation (Optional): Additional information on the project to be edited. Limit of 4,000 characters.

StatusCode (Optional): Changes the status of the project. Note that the Modulo Risk Manager API only supports cancellation of projects, in which case the value "2" should be sent.

ExpectedStartDate (Optional): Expected start date for the project. Valid format: see Technical Orientations -> Valid Format for Date and Time Fields.

ExpectedEndDate (Optional): Expected end date for the project. Valid format: see Technical Orientations -> Valid Format for Date and Time Fields.

StartDate (Optional): Real start date for the project. Valid format: see Technical Orientations -> Valid Format for Date and Time Fields.

EndDate (Optional): Real end date for the project. Valid format: see Technical Orientations -> Valid Format for Date and Time Fields.

 

REQUEST EXAMPLE

{RMUrl}/api/risk/projects/PRJR12012

 

FORM CONTENT EXAMPLE

To edit all fields in the project:

{

"Name":"Datacenter Analysis Project",

"Leader":{"Name":"Carl Banks"},

"SubstituteLeader":{"Name":"Laura Morris"},

"Description":"Project created to analyze the datacenter at ABC Company's headquarters.",

"AdditionalInformation":"Started on January 23rd."

"ExpectedStartDate":"\/Date(1486346400000-0200)\/",

"ExpectedEndDate":"\/Date(1486432800000-0200)\/",

"StartDate":"\/Date(1486346400000-0200)\/",

"EndDate":"\/Date(1486432800000-0200)\/"

}

 

To cancel a risk project:

{

"StatusCode":2

}

 

SUCCESS RESPONSE

HTTP status code 204: NoContent