| GET | /api/riskstore/eventset/metrics | Get event set metrics, used by the Excel Add-On |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AnalysisId | query | integer | Yes | The analysis id to get the event set metrics for |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DealEventSetMetrics | form | List<DealEventSetMetric> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SourceModelSystem | form | string | No | |
| ModelId | form | string | No | |
| SourceEventSetId | form | string | No | |
| EventSetId | form | long | No | |
| PerspectiveId | form | int | No | |
| ELAgg | form | double? | No | |
| ELOcc | form | double? | No | |
| PAtt | form | double? | No | |
| PExh | form | double? | No | |
| SourceDealId | form | string | No | |
| SourceDealSystem | form | string | No | |
| ApprovedDateTimeUtc | form | DateTime | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/riskstore/eventset/metrics HTTP/1.1 Host: riskstoreng-dev.nephila.com Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"dealEventSetMetrics":[{"sourceModelSystem":"String","modelId":"String","sourceEventSetId":"String","eventSetId":0,"perspectiveId":0,"elAgg":0,"elOcc":0,"pAtt":0,"pExh":0,"sourceDealId":"String","sourceDealSystem":"String","approvedDateTimeUtc":"0001-01-01T00:00:00.0000000Z"}],"responseStatus":{"__type":"ServiceStack.ResponseStatus, ServiceStack.Interfaces","errorCode":"String","message":"String","stackTrace":"String","errors":[{"__type":"ServiceStack.ResponseError, ServiceStack.Interfaces","errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}