namespace Nephila.RiskStore.ServiceModel
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
type AnalysisType =
| NotSet = 0
| Standard = 1
| RunOff = 2
type SimulationLossPerspective =
| NotSet = 0
| Agg = 1
| Occ = 2
type ReinsurancePremiumLossType =
| NotSet = 0
| Net = 1
| Gross = 2
type ResultOutputLevel =
| NotSet = 0
| PortfolioMetrics = 1
| Curve = 2
| YLT = 3
| TailIntensity = 4
| DealYlt = 5
| DealElt = 6
| DealEltWithIndustryLoss = 7
| PortfolioElt = 8
| PortfolioEltWithIndustryLoss = 9
| EventSetGeneration = 10
| PortfolioRaps = 11
| DealRaps = 12
| PortfolioSepyIndustryLoss = 13
| DealSepyIndustryLoss = 14
[<AllowNullLiteral>]
type AnalysisPortfolioEventSetResult() =
[<DataMember(Order=1)>]
member val Id:Int64 = new Int64() with get,set
[<DataMember(Order=2)>]
member val AnalysisId:Int64 = new Int64() with get,set
[<DataMember(Order=3)>]
member val AnalysisPortfolioEventSetConfigurationId:Int64 = new Int64() with get,set
[<DataMember(Order=4)>]
member val AnalysisResultId:Int64 = new Int64() with get,set
[<DataMember(Order=5)>]
member val PortfolioName:String = null with get,set
[<DataMember(Order=6)>]
member val RowIdentifier:Guid = new Guid() with get,set
[<DataContract>]
[<AllowNullLiteral>]
type AnalysisResult() =
[<DataMember(Order=1)>]
member val Id:Int64 = new Int64() with get,set
[<DataMember(Order=2)>]
member val AnalysisId:Int64 = new Int64() with get,set
[<DataMember(Order=3)>]
member val AnalysisConfigurationId:Int64 = new Int64() with get,set
[<DataMember(Order=4)>]
member val Container:String = null with get,set
[<DataMember(Order=5)>]
member val BlobName:String = null with get,set
[<DataMember(Order=6)>]
member val ResultTableName:String = null with get,set
[<DataMember(Order=7)>]
member val AnalysisType:AnalysisType = new AnalysisType() with get,set
[<DataMember(Order=8)>]
member val SimulationLossPerspective:SimulationLossPerspective = new SimulationLossPerspective() with get,set
[<DataMember(Order=9)>]
member val ReinsurancePremiumLossType:ReinsurancePremiumLossType = new ReinsurancePremiumLossType() with get,set
[<DataMember(Order=10)>]
member val OutputLevel:ResultOutputLevel = new ResultOutputLevel() with get,set
[<DataMember(Order=11)>]
member val MetaRiskId:Int32 = new Int32() with get,set
[<DataMember(Order=12)>]
member val AnalysisPortfolioEventSetResults:ResizeArray<AnalysisPortfolioEventSetResult> = null with get,set
[<DataMember(Order=13)>]
member val RowIdentifier:Guid = new Guid() with get,set
[<AllowNullLiteral>]
type ProcessHotPathRollupOutputPersistenceRequest() =
member val Id:Guid = new Guid() with get,set
member val OutputDetails:ResizeArray<AnalysisResult> = null with get,set
F# ProcessHotPathRollupOutputPersistenceRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/oneway/ProcessHotPathRollupOutputPersistenceRequest HTTP/1.1
Host: riskstoreng-dev.nephila.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ProcessHotPathRollupOutputPersistenceRequest 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>
</ProcessHotPathRollupOutputPersistenceRequest>