Nephila RiskStore

<back to all web services

ProcessIngestIndustryLossRequest

Requires Authentication
import 'package:servicestack/servicestack.dart';

class ProcessIngestIndustryLossRequest implements IConvertible
{
    // @ApiMember(IsRequired=true)
    String? name;

    // @ApiMember(IsRequired=true)
    List<int>? perspectiveIds = [];

    // @ApiMember(IsRequired=true)
    String? container;

    // @ApiMember(IsRequired=true)
    String? blobName;

    int? ilEventSetId;

    ProcessIngestIndustryLossRequest({this.name,this.perspectiveIds,this.container,this.blobName,this.ilEventSetId});
    ProcessIngestIndustryLossRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        name = json['name'];
        perspectiveIds = JsonConverters.fromJson(json['perspectiveIds'],'List<int>',context!);
        container = json['container'];
        blobName = json['blobName'];
        ilEventSetId = json['ilEventSetId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'name': name,
        'perspectiveIds': JsonConverters.toJson(perspectiveIds,'List<int>',context!),
        'container': container,
        'blobName': blobName,
        'ilEventSetId': ilEventSetId
    };

    getTypeName() => "ProcessIngestIndustryLossRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'riskstoreng_dev.nephila.com', types: <String, TypeInfo> {
    'ProcessIngestIndustryLossRequest': TypeInfo(TypeOf.Class, create:() => ProcessIngestIndustryLossRequest()),
});

Dart ProcessIngestIndustryLossRequest 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/ProcessIngestIndustryLossRequest HTTP/1.1 
Host: riskstoreng-dev.nephila.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<ProcessIngestIndustryLossRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nephila.RiskStore.ServiceModel.Requests">
  <BlobName>String</BlobName>
  <Container>String</Container>
  <ILEventSetId>0</ILEventSetId>
  <Name>String</Name>
  <PerspectiveIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </PerspectiveIds>
</ProcessIngestIndustryLossRequest>