Nephila RiskStore

<back to all web services

ProcessHotPathRollupOutputPersistenceRequest

Requires Authentication

export enum AnalysisType
{
    NotSet = 'NotSet',
    Standard = 'Standard',
    RunOff = 'RunOff',
}

export enum SimulationLossPerspective
{
    NotSet = 'NotSet',
    Agg = 'Agg',
    Occ = 'Occ',
}

export enum ReinsurancePremiumLossType
{
    NotSet = 'NotSet',
    Net = 'Net',
    Gross = 'Gross',
}

export enum ResultOutputLevel
{
    NotSet = 'NotSet',
    PortfolioMetrics = 'PortfolioMetrics',
    Curve = 'Curve',
    YLT = 'YLT',
    TailIntensity = 'TailIntensity',
    DealYlt = 'DealYlt',
    DealElt = 'DealElt',
    DealEltWithIndustryLoss = 'DealEltWithIndustryLoss',
    PortfolioElt = 'PortfolioElt',
    PortfolioEltWithIndustryLoss = 'PortfolioEltWithIndustryLoss',
    EventSetGeneration = 'EventSetGeneration',
    PortfolioRaps = 'PortfolioRaps',
    DealRaps = 'DealRaps',
    PortfolioSepyIndustryLoss = 'PortfolioSepyIndustryLoss',
    DealSepyIndustryLoss = 'DealSepyIndustryLoss',
}

export class AnalysisPortfolioEventSetResult implements IObjectWithId, IHasAnalysisId
{
    // @DataMember(Order=1)
    public id: number;

    // @DataMember(Order=2)
    public analysisId: number;

    // @DataMember(Order=3)
    public analysisPortfolioEventSetConfigurationId: number;

    // @DataMember(Order=4)
    public analysisResultId: number;

    // @DataMember(Order=5)
    public portfolioName: string;

    // @DataMember(Order=6)
    public rowIdentifier: string;

    public constructor(init?: Partial<AnalysisPortfolioEventSetResult>) { (Object as any).assign(this, init); }
}

// @DataContract
export class AnalysisResult implements IObjectWithId
{
    // @DataMember(Order=1)
    public id: number;

    // @DataMember(Order=2)
    public analysisId: number;

    // @DataMember(Order=3)
    public analysisConfigurationId: number;

    // @DataMember(Order=4)
    public container: string;

    // @DataMember(Order=5)
    public blobName: string;

    // @DataMember(Order=6)
    public resultTableName: string;

    // @DataMember(Order=7)
    public analysisType: AnalysisType;

    // @DataMember(Order=8)
    public simulationLossPerspective: SimulationLossPerspective;

    // @DataMember(Order=9)
    public reinsurancePremiumLossType: ReinsurancePremiumLossType;

    // @DataMember(Order=10)
    public outputLevel: ResultOutputLevel;

    // @DataMember(Order=11)
    public metaRiskId: number;

    // @DataMember(Order=12)
    public analysisPortfolioEventSetResults: AnalysisPortfolioEventSetResult[];

    // @DataMember(Order=13)
    public rowIdentifier: string;

    public constructor(init?: Partial<AnalysisResult>) { (Object as any).assign(this, init); }
}

export class ProcessHotPathRollupOutputPersistenceRequest
{
    public id: string;
    public outputDetails: AnalysisResult[];

    public constructor(init?: Partial<ProcessHotPathRollupOutputPersistenceRequest>) { (Object as any).assign(this, init); }
}

TypeScript ProcessHotPathRollupOutputPersistenceRequest DTOs

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

HTTP + CSV

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

POST /csv/oneway/ProcessHotPathRollupOutputPersistenceRequest HTTP/1.1 
Host: riskstoreng-dev.nephila.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"id":"00000000000000000000000000000000","outputDetails":[{"id":0,"analysisId":0,"analysisConfigurationId":0,"container":"String","blobName":"String","resultTableName":"String","analysisType":"NotSet","simulationLossPerspective":"NotSet","reinsurancePremiumLossType":"NotSet","outputLevel":"NotSet","metaRiskId":0,"analysisPortfolioEventSetResults":[{"id":0,"analysisId":0,"analysisPortfolioEventSetConfigurationId":0,"analysisResultId":0,"portfolioName":"String","rowIdentifier":"00000000000000000000000000000000"}],"rowIdentifier":"00000000000000000000000000000000"}]}