Nephila RiskStore

<back to all web services

GetDealExpectedLossRequest

EventSets
Requires Authentication
The following routes are available for this service:
POST/api/riskstore/eventset/deal-expected-lossGet the deals expected losses by metarisk
GetDealExpectedLossRequest Parameters:
NameParameterData TypeRequiredDescription
SourceDealSystembodystringYesThe source deal system (IGN) to get the date for
AsOfbodystringNoThe as of date to query
MetaRiskIdsbodyarrayYesThe metarisks to query for
PerspectiveIdsbodyarrayNoThe perspectives to query for
PerspectiveTypeIdsbodyarrayNoThe perspectives types to query for (0 - Vendor, 10 - Nephila 1.0, 16 - Nephila 2.0 etc...)
SourceDealIdsbodyarrayYesThe source deal ids to query for
GetDealExpectedLossResponse Parameters:
NameParameterData TypeRequiredDescription
DealExpectedLossesformList<DealExpectedLoss>No
ResponseStatusformResponseStatusNo
DealExpectedLoss Parameters:
NameParameterData TypeRequiredDescription
SourceDealIdformlongNo
PerspectiveIdformintNo
MetaRiskIdformintNo
ELAggformdecimalNo
ELOccformdecimalNo
PAttformdecimalNo
PExhformdecimalNo

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

HTTP + OTHER

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

POST /api/riskstore/eventset/deal-expected-loss HTTP/1.1 
Host: riskstoreng-dev.nephila.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"sourceDealSystem":"String","asOf":"0001-01-01T00:00:00.0000000Z","metaRiskIds":[0],"perspectiveIds":[0],"perspectiveTypeIds":[0],"sourceDealIds":[0]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"dealExpectedLosses":[{"sourceDealId":0,"perspectiveId":0,"metaRiskId":0,"elAgg":0,"elOcc":0,"pAtt":0,"pExh":0}],"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"}}}