| POST | /api/riskstore/industryloss/ingest | Ingest Industry Loss Request | Ingest Industry Loss Request |
|---|
export class IngestIndustryLossRequest implements IPost
{
// @ApiMember(IsRequired=true)
public eventSourceId: number;
// @ApiMember(IsRequired=true)
public name: string;
// @ApiMember(IsRequired=true)
public perspectiveIds: number[] = [];
// @ApiMember(IsRequired=true)
public container: string;
// @ApiMember(IsRequired=true)
public blobName: string;
// @ApiMember(IsRequired=true)
public sourceSystem: string;
public constructor(init?: Partial<IngestIndustryLossRequest>) { (Object as any).assign(this, init); }
}
TypeScript IngestIndustryLossRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}