Coruson API

<back to all web services

GetRiskMatrix

Coruson Risk

Requires Authentication
The following routes are available for this service:
GET/api/risks/riskmatrices/{MatrixRevisionId}Get the dimension detail (X/Y ranges, scale and perspective ids) for a risk matrix revision
GetRiskMatrix Parameters:
NameParameterData TypeRequiredDescription
MatrixRevisionIdpathGuidYesThe matrix revision id (obtained from GET /risks/riskmatrices).
RequestBase Parameters:
NameParameterData TypeRequiredDescription
VersionformintNo
GetRiskMatrixResponse Parameters:
NameParameterData TypeRequiredDescription
MatrixRevisionIdformGuidNo
MatrixIdformGuidNo
NameformstringNo
RevisionformintNo
XDimensionformRiskMatrixDimensionNo
YDimensionformRiskMatrixYDimensionNo
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
StatusDescriptionformstringNo
ResponseStatusformResponseStatusNo
RiskMatrixDimension Parameters:
NameParameterData TypeRequiredDescription
DimensionIdformGuidNo
LabelformstringNo
RangeTypeformRangeTypeNo
RangeMinformintNo
RangeMaxformintNo
ValuesformList<RiskMatrixRangeValue>No
RiskMatrixRangeValue Parameters:
NameParameterData TypeRequiredDescription
PositionformintNo
DisplayValueformstringNo
LabelformstringNo
RiskMatrixYDimension Parameters:
NameParameterData TypeRequiredDescription
DimensionIdformGuidNo
LabelformstringNo
RangeTypeformRangeTypeNo
RangeMinformintNo
RangeMaxformintNo
PerspectivesformList<RiskMatrixPerspective>No
RiskMatrixPerspective Parameters:
NameParameterData TypeRequiredDescription
PerspectiveIdformGuidNo
LabelformstringNo
IndexformintNo
ValuesformList<RiskMatrixRangeValue>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

                    POST /jsv/reply/GetRiskMatrix HTTP/1.1 
Host: platform.gaelenlighten.com 
Content-Type: text/jsv
Content-Length: length

{
	Version: 0
}
                    
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	StatusDescription: String,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	Name: String,
	Revision: 0,
	XDimension: 
	{
		Label: String,
		RangeType: Alpha,
		RangeMin: 0,
		RangeMax: 0,
		Values: 
		[
			{
				Position: 0,
				DisplayValue: String,
				Label: String
			}
		]
	},
	YDimension: 
	{
		Label: String,
		RangeType: Alpha,
		RangeMin: 0,
		RangeMax: 0,
		Perspectives: 
		[
			{
				Label: String,
				Index: 0,
				Values: 
				[
					{
						Position: 0,
						DisplayValue: String,
						Label: String
					}
				]
			}
		]
	}
}