SaveRisk

Type: POST

Purpose: Handles requests to save the created risk/risk extensions in the services.

Sample input

Parameters

Example:

{

  "InstanceId": 0,

  "IsNew": true,

  "IsDelete": true,

  "IsDisabled": true,

  "Name": "string",

  "Type": "string",

  "Id": "string",

  "Path": "string",

  "TestRequestId": 0,

  "TestBedId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",

  "DisplayName": "string",

  "CreatedBy": "string",

  "ModifiedBy": "string",

  "Description": "string",

  "ParentId": 0,

  "IsEligible": true,

  "Eligibility_DependentInfo": "string",

  "IsDirty": true,

  "RiskAttrFactorfields": [

    {

      "cardinalityField": "string",

      "dataTypeField": "string",

      "descriptionField": "string",

      "displayNameField": "string",

      "factorNameField": "string",

      "idField": "string",

      "sequenceNumberField": 0,

      "sequenceNumberFieldSpecified": true,

      "sourceTypeField": "string",

      "typeOfCharactersField": "string",

      "unitTypeField": "string",

      "PropertyChanged": "string"

    }

  ],

Sample Response:

Based on the example value field provided above, the response is shown as Boolean data, such as true or false, wherein true denotes that the workspace has been approved, and false denotes that the workspace is not approved.