Nephila RiskStore

<back to all web services

ProcessRollupOutputPersistenceRequest

Requires Authentication
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Nephila.RiskStore.ServiceModel.Requests;
using Nephila.RiskStore.ServiceModel.Types;
using Nephila.RiskStore.ServiceModel;

namespace Nephila.RiskStore.ServiceModel.Requests
{
    public partial class ProcessRollupOutputPersistenceRequest
    {
        public virtual Guid Id { get; set; }
        public virtual List<AnalysisResult> OutputDetails { get; set; }
    }

}

namespace Nephila.RiskStore.ServiceModel.Types
{
    public partial class AnalysisPortfolioEventSetResult
        : IObjectWithId, IHasAnalysisId
    {
        [DataMember(Order=1)]
        public virtual long Id { get; set; }

        [DataMember(Order=2)]
        public virtual long AnalysisId { get; set; }

        [DataMember(Order=3)]
        public virtual long AnalysisPortfolioEventSetConfigurationId { get; set; }

        [DataMember(Order=4)]
        public virtual long AnalysisResultId { get; set; }

        [DataMember(Order=5)]
        public virtual string PortfolioName { get; set; }

        [DataMember(Order=6)]
        public virtual Guid RowIdentifier { get; set; }
    }

    [DataContract]
    public partial class AnalysisResult
        : IObjectWithId
    {
        [DataMember(Order=1)]
        public virtual long Id { get; set; }

        [DataMember(Order=2)]
        public virtual long AnalysisId { get; set; }

        [DataMember(Order=3)]
        public virtual long AnalysisConfigurationId { get; set; }

        [DataMember(Order=4)]
        public virtual string Container { get; set; }

        [DataMember(Order=5)]
        public virtual string BlobName { get; set; }

        [DataMember(Order=6)]
        public virtual string ResultTableName { get; set; }

        [DataMember(Order=7)]
        public virtual AnalysisType AnalysisType { get; set; }

        [DataMember(Order=8)]
        public virtual SimulationLossPerspective SimulationLossPerspective { get; set; }

        [DataMember(Order=9)]
        public virtual ReinsurancePremiumLossType ReinsurancePremiumLossType { get; set; }

        [DataMember(Order=10)]
        public virtual ResultOutputLevel OutputLevel { get; set; }

        [DataMember(Order=11)]
        public virtual int MetaRiskId { get; set; }

        [DataMember(Order=12)]
        public virtual List<AnalysisPortfolioEventSetResult> AnalysisPortfolioEventSetResults { get; set; }

        [DataMember(Order=13)]
        public virtual Guid RowIdentifier { get; set; }
    }

}

C# ProcessRollupOutputPersistenceRequest DTOs

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.

POST /xml/oneway/ProcessRollupOutputPersistenceRequest HTTP/1.1 
Host: riskstoreng-dev.nephila.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<ProcessRollupOutputPersistenceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nephila.RiskStore.ServiceModel.Requests">
  <Id>00000000-0000-0000-0000-000000000000</Id>
  <OutputDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/Nephila.RiskStore.ServiceModel.Types">
    <d2p1:AnalysisResult>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:AnalysisId>0</d2p1:AnalysisId>
      <d2p1:AnalysisConfigurationId>0</d2p1:AnalysisConfigurationId>
      <d2p1:Container>String</d2p1:Container>
      <d2p1:BlobName>String</d2p1:BlobName>
      <d2p1:ResultTableName>String</d2p1:ResultTableName>
      <d2p1:AnalysisType>NotSet</d2p1:AnalysisType>
      <d2p1:SimulationLossPerspective>NotSet</d2p1:SimulationLossPerspective>
      <d2p1:ReinsurancePremiumLossType>NotSet</d2p1:ReinsurancePremiumLossType>
      <d2p1:OutputLevel>NotSet</d2p1:OutputLevel>
      <d2p1:MetaRiskId>0</d2p1:MetaRiskId>
      <d2p1:AnalysisPortfolioEventSetResults>
        <d2p1:AnalysisPortfolioEventSetResult>
          <d2p1:AnalysisId>0</d2p1:AnalysisId>
          <d2p1:AnalysisPortfolioEventSetConfigurationId>0</d2p1:AnalysisPortfolioEventSetConfigurationId>
          <d2p1:AnalysisResultId>0</d2p1:AnalysisResultId>
          <d2p1:Id>0</d2p1:Id>
          <d2p1:PortfolioName>String</d2p1:PortfolioName>
          <d2p1:RowIdentifier>00000000-0000-0000-0000-000000000000</d2p1:RowIdentifier>
        </d2p1:AnalysisPortfolioEventSetResult>
      </d2p1:AnalysisPortfolioEventSetResults>
      <d2p1:RowIdentifier>00000000-0000-0000-0000-000000000000</d2p1:RowIdentifier>
    </d2p1:AnalysisResult>
  </OutputDetails>
</ProcessRollupOutputPersistenceRequest>