Nephila RiskStore

<back to all web services

FindEventSetRequest

General
Requires Authentication
The following routes are available for this service:
GET/api/riskstore/eventset/searchSearch for event sets
FindEventSetRequest Parameters:
NameParameterData TypeRequiredDescription
SourceModelSystemquerystringNoSource Model System
ModelIdquerystringNoModel Id
PerspectiveIdqueryintegerNoThe perspective id for the event set
SourceEventSetIdquerystringNoSource Event Set Id
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
EventSet Parameters:
NameParameterData TypeRequiredDescription
EventSetIdformlongNo
ProcessingStatusformProcessingStatusNo
SourceModelSystemformstringNo
SourceEventSetIdformstringNo
ModelIdformstringNo
PerspectiveIdformintNo
SimulationCountformintNo
ProgramCalculationIdformstringNo
DescriptionformstringNo
LimitformdoubleNo
ReinstatementsformintNo
EventSourceTypeformstringNo
EventSetOriginIdformstringNo
EventSetOriginNameformstringNo
EventSetOriginTypeformstringNo
SourceEventSetLossContainerformstringNo
SourceEventSetLossPathformstringNo
ResolutionformstringNo
ResultsHashformstringNo
ExpectedLossAggregateformdoubleNo
ExpectedLossOccurrenceformdoubleNo
ProbabilityOfAttachmentformdoubleNo
ProbabilityOfExhaustionformdoubleNo
ApprovedDateTimeUtcformDateTimeNo
ApprovedByformstringNo
EventSourceIdformlongNo
ValidFromUtcformDateTimeNo
ValidToUtcformDateTimeNo
ContainerformstringNo
BlobNameformstringNo
UpdatedDateUtcformDateTimeNo
IsArchivedformboolNo
ArchivedLossDataBlobPathformstringNo
ArchivedLossDataHashformstringNo
EventSetTelemetryformEventSetTelemetryNo
ProcessingStatus Enum:
NameValue
New0
Processing1
Failed10
Successful20
EventSetTelemetry Parameters:
NameParameterData TypeRequiredDescription
EventSetIdformlongNo
StartedDateTimeUtcformDateTime?No
EndedDateTimeUctformDateTime?No
EventLossCountformintNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<Analysis>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo
Analysis Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
NameformstringNo
ModelAsOfDateformDateTime?No
PerspectiveIdformintNo
ConfigurationsformList<AnalysisConfiguration>No
DealsformList<AnalysisDeal>No
EventIdFiltersformList<AnalysisEventIdFilter>No
CreatedByformstringNo
CreatedDateUtcformDateTimeNo
CompletedDateUtcformDateTime?No
LegacyAnalysisIdformlong?No
ResultPersistenceTrackingformList<MessageTracking>No
ProcessingStatusformProcessingStatusNo
SaveResultsformboolNo
EventSourceSystemformstringNo
UpdatedDateUtcformDateTimeNo
IsExpiredformboolNo
RowIdentifierformGuidNo
ErrorMessageformstringNo
IgnoreSimulationCountMismatchformbooleanNoTake the minimum simulation count when we have different simulations between event sets
FinalStatusformProcessingStatusNo
AnalysisConfiguration Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
AnalysisIdformlongNo
WindowStartDateformDateTime?No
WindowEndDateformDateTime?No
StandardEnabledformboolNo
RunOffEnabledformboolNo
AggregateEnabledformboolNo
OccurrenceEnabledformboolNo
NettEnabledformboolNo
GrossEnabledformboolNo
TailIntensityPercentageStartformdecimal?No
TailIntensityPercentageEndformdecimal?No
MetaRiskIdformintNo
OutputLevelformResultOutputLevelNo
ProcessingStatusformProcessingStatusNo
EventLossFloorStartRangeformdecimal?No
EventLossFloorEndRangeformdecimal?No
AnalysisPortfolioEventSetConfigurationsformList<AnalysisPortfolioEventSetConfiguration>No
RowIdentifierformGuidNo
ResultOutputLevel Enum:
NotSet
PortfolioMetrics
Curve
YLT
TailIntensity
DealYlt
DealElt
DealEltWithIndustryLoss
PortfolioElt
PortfolioEltWithIndustryLoss
EventSetGeneration
PortfolioRaps
DealRaps
PortfolioSepyIndustryLoss
DealSepyIndustryLoss
AnalysisPortfolioEventSetConfiguration Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
AnalysisIdformlongNo
AnalysisConfigurationIdformlongNo
PortfolioNameformstringNo
ModelIdformstringNo
RowIdentifierformGuidNo
AnalysisDeal Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
AnalysisIdformlongNo
SourceDealIdformstringNo
DealRefformstringNo
SourceDealSystemformstringNo
EventSetIdformlongNo
ROLformdoubleNo
LimitformdoubleNo
InceptionDateformDateTimeNo
ExpiryDateformDateTimeNo
TransactionTypeformTransactionTypeNo
AllocationsformList<AnalysisPortfolioAllocation>No
PerspectiveIdOverrideformint?No
EventSetIdOverrideformlong?No
ModelAsOfDateOverrideformDateTime?No
SourceModelSystemOverrideformstringNo
SourceModelIdOverrideformstringNo
SourceEventSetIdOverrideformstringNo
EventSourceSystemOverrideformstringNo
RowIdentifierformGuidNo
TransactionType Enum:
NotSet
S
B
AnalysisPortfolioAllocation Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
AnalysisDealIdformlongNo
PortfolioNameformstringYes
AllocationPercentageformdoubleNo
RowIdentifierformGuidNo
AnalysisEventIdFilter Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
AnalysisIdformlongNo
EventSourceIdformintNo
EventIdformlongNo
RowIdentifierformGuidNo
MessageTracking Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
AnalysisIdformlong?No
ProcessingStatusformProcessingStatusNo
MessageTypeformMessageTypeNo
CreatedDateUtcformDateTimeNo
UpdatedDateUtcformDateTimeNo
MessageType Enum:
NotSet
Persistence
Archival

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.

GET /api/riskstore/eventset/search HTTP/1.1 
Host: riskstoreng-dev.nephila.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"offset":0,"total":0,"results":[{"eventSetId":0,"processingStatus":"New","sourceModelSystem":"String","sourceEventSetId":"String","modelId":"String","perspectiveId":0,"simulationCount":0,"programCalculationId":"String","description":"String","limit":0,"reinstatements":0,"eventSourceType":"String","eventSetOriginId":"String","eventSetOriginName":"String","eventSetOriginType":"String","sourceEventSetLossContainer":"String","sourceEventSetLossPath":"String","resolution":"String","resultsHash":"String","expectedLossAggregate":0,"expectedLossOccurrence":0,"probabilityOfAttachment":0,"probabilityOfExhaustion":0,"approvedDateTimeUtc":"0001-01-01T00:00:00.0000000Z","approvedBy":"String","eventSourceId":0,"validFromUtc":"0001-01-01T00:00:00.0000000Z","validToUtc":"0001-01-01T00:00:00.0000000Z","container":"String","blobName":"String","updatedDateUtc":"0001-01-01T00:00:00.0000000Z","isArchived":false,"archivedLossDataBlobPath":"String","archivedLossDataHash":"String","eventSetTelemetry":{"eventSetId":0,"startedDateTimeUtc":"0001-01-01T00:00:00.0000000Z","endedDateTimeUct":"0001-01-01T00:00:00.0000000Z","eventLossCount":0}}],"meta":{"String":"String"},"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"}}}