Nephila RiskStore

<back to all web services

FindAnalysisDeals

General
Requires Authentication
The following routes are available for this service:
GET/api/riskstore/results/dealsSearch analysis deals by analysis, deal reference, or source deal id
FindAnalysisDeals Parameters:
NameParameterData TypeRequiredDescription
IdsqueryintegerNo
AnalysisIdqueryintegerNo
AnalysisIdsqueryintegerNo
DealRefquerystringNo
SourceDealIdquerystringNo
SourceDealSystemquerystringNo
EventSetIdqueryintegerNo
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
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
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
ProcessingStatus Enum:
NameValue
New0
Processing1
Failed10
Successful20
AnalysisPortfolioEventSetConfiguration Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
AnalysisIdformlongNo
AnalysisConfigurationIdformlongNo
PortfolioNameformstringNo
ModelIdformstringNo
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 .xml suffix or ?format=xml

HTTP + XML

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

GET /api/riskstore/results/deals HTTP/1.1 
Host: riskstoreng-dev.nephila.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<QueryResponseOfAnalysisDeale3Twhsvh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Offset>0</Offset>
  <Total>0</Total>
  <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/Nephila.RiskStore.ServiceModel.Types">
    <d2p1:AnalysisDeal>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:AnalysisId>0</d2p1:AnalysisId>
      <d2p1:SourceDealId>String</d2p1:SourceDealId>
      <d2p1:DealRef>String</d2p1:DealRef>
      <d2p1:SourceDealSystem>String</d2p1:SourceDealSystem>
      <d2p1:EventSetId>0</d2p1:EventSetId>
      <d2p1:ROL>0</d2p1:ROL>
      <d2p1:Limit>0</d2p1:Limit>
      <d2p1:InceptionDate>0001-01-01T00:00:00</d2p1:InceptionDate>
      <d2p1:ExpiryDate>0001-01-01T00:00:00</d2p1:ExpiryDate>
      <d2p1:TransactionType>NotSet</d2p1:TransactionType>
      <d2p1:Allocations>
        <d2p1:AnalysisPortfolioAllocation>
          <d2p1:Id>0</d2p1:Id>
          <d2p1:AnalysisDealId>0</d2p1:AnalysisDealId>
          <d2p1:PortfolioName>String</d2p1:PortfolioName>
          <d2p1:AllocationPercentage>0</d2p1:AllocationPercentage>
          <d2p1:RowIdentifier>00000000-0000-0000-0000-000000000000</d2p1:RowIdentifier>
        </d2p1:AnalysisPortfolioAllocation>
      </d2p1:Allocations>
      <d2p1:PerspectiveIdOverride>0</d2p1:PerspectiveIdOverride>
      <d2p1:EventSetIdOverride>0</d2p1:EventSetIdOverride>
      <d2p1:ModelAsOfDateOverride>0001-01-01T00:00:00</d2p1:ModelAsOfDateOverride>
      <d2p1:SourceModelSystemOverride>String</d2p1:SourceModelSystemOverride>
      <d2p1:SourceModelIdOverride>String</d2p1:SourceModelIdOverride>
      <d2p1:SourceEventSetIdOverride>String</d2p1:SourceEventSetIdOverride>
      <d2p1:EventSourceSystemOverride>String</d2p1:EventSourceSystemOverride>
      <d2p1:RowIdentifier>00000000-0000-0000-0000-000000000000</d2p1:RowIdentifier>
    </d2p1:AnalysisDeal>
  </Results>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <ResponseStatus>
    <ErrorCode>String</ErrorCode>
    <Message>String</Message>
    <StackTrace>String</StackTrace>
    <Errors>
      <ResponseError>
        <ErrorCode>String</ErrorCode>
        <FieldName>String</FieldName>
        <Message>String</Message>
        <Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </Meta>
      </ResponseError>
    </Errors>
    <Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </Meta>
  </ResponseStatus>
</QueryResponseOfAnalysisDeale3Twhsvh>