Nephila RiskStore

<back to all web services

IngestIndustryLossRequest

General
Requires Authentication
The following routes are available for this service:
POST/api/riskstore/industryloss/ingestIngest Industry Loss RequestIngest Industry Loss Request
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class IngestIndustryLossRequest implements IPost
    {
        @ApiMember(IsRequired=true)
        public Long eventSourceId = null;

        @ApiMember(IsRequired=true)
        public String name = null;

        @ApiMember(IsRequired=true)
        public ArrayList<Integer> perspectiveIds = new ArrayList<Integer>();

        @ApiMember(IsRequired=true)
        public String container = null;

        @ApiMember(IsRequired=true)
        public String blobName = null;

        @ApiMember(IsRequired=true)
        public String sourceSystem = null;
        
        public Long getEventSourceId() { return eventSourceId; }
        public IngestIndustryLossRequest setEventSourceId(Long value) { this.eventSourceId = value; return this; }
        public String getName() { return name; }
        public IngestIndustryLossRequest setName(String value) { this.name = value; return this; }
        public ArrayList<Integer> getPerspectiveIds() { return perspectiveIds; }
        public IngestIndustryLossRequest setPerspectiveIds(ArrayList<Integer> value) { this.perspectiveIds = value; return this; }
        public String getContainer() { return container; }
        public IngestIndustryLossRequest setContainer(String value) { this.container = value; return this; }
        public String getBlobName() { return blobName; }
        public IngestIndustryLossRequest setBlobName(String value) { this.blobName = value; return this; }
        public String getSourceSystem() { return sourceSystem; }
        public IngestIndustryLossRequest setSourceSystem(String value) { this.sourceSystem = value; return this; }
    }

}

Java IngestIndustryLossRequest DTOs

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

HTTP + JSV

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

POST /api/riskstore/industryloss/ingest HTTP/1.1 
Host: riskstoreng-dev.nephila.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	eventSourceId: 0,
	name: String,
	perspectiveIds: 
	[
		0
	],
	container: String,
	blobName: String,
	sourceSystem: String
}