Nephila RiskStore

<back to all web services

ProcessRollupOutputPersistenceRequest

Requires Authentication
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class ProcessRollupOutputPersistenceRequest
{
    open var id:UUID? = null
    open var outputDetails:ArrayList<AnalysisResult>? = null
}

@DataContract
open class AnalysisResult : IObjectWithId
{
    @DataMember(Order=1)
    override var id:Long? = null

    @DataMember(Order=2)
    open var analysisId:Long? = null

    @DataMember(Order=3)
    open var analysisConfigurationId:Long? = null

    @DataMember(Order=4)
    open var container:String? = null

    @DataMember(Order=5)
    open var blobName:String? = null

    @DataMember(Order=6)
    open var resultTableName:String? = null

    @DataMember(Order=7)
    open var analysisType:AnalysisType? = null

    @DataMember(Order=8)
    open var simulationLossPerspective:SimulationLossPerspective? = null

    @DataMember(Order=9)
    open var reinsurancePremiumLossType:ReinsurancePremiumLossType? = null

    @DataMember(Order=10)
    open var outputLevel:ResultOutputLevel? = null

    @DataMember(Order=11)
    open var metaRiskId:Int? = null

    @DataMember(Order=12)
    open var analysisPortfolioEventSetResults:ArrayList<AnalysisPortfolioEventSetResult>? = null

    @DataMember(Order=13)
    override var rowIdentifier:UUID? = null
}

enum class AnalysisType
{
    NotSet,
    Standard,
    RunOff,
}

enum class SimulationLossPerspective
{
    NotSet,
    Agg,
    Occ,
}

enum class ReinsurancePremiumLossType
{
    NotSet,
    Net,
    Gross,
}

enum class ResultOutputLevel
{
    NotSet,
    PortfolioMetrics,
    Curve,
    Ylt,
    TailIntensity,
    DealYlt,
    DealElt,
    DealEltWithIndustryLoss,
    PortfolioElt,
    PortfolioEltWithIndustryLoss,
    EventSetGeneration,
    PortfolioRaps,
    DealRaps,
    PortfolioSepyIndustryLoss,
    DealSepyIndustryLoss,
}

open class AnalysisPortfolioEventSetResult : IObjectWithId, IHasAnalysisId
{
    @DataMember(Order=1)
    override var id:Long? = null

    @DataMember(Order=2)
    override var analysisId:Long? = null

    @DataMember(Order=3)
    open var analysisPortfolioEventSetConfigurationId:Long? = null

    @DataMember(Order=4)
    open var analysisResultId:Long? = null

    @DataMember(Order=5)
    open var portfolioName:String? = null

    @DataMember(Order=6)
    override var rowIdentifier:UUID? = null
}

Kotlin ProcessRollupOutputPersistenceRequest DTOs

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 /jsonl/oneway/ProcessRollupOutputPersistenceRequest HTTP/1.1 
Host: riskstoreng-dev.nephila.com 
Accept: text/jsonl
Content-Type: text/jsonl
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"}]}