Go-to-Light Service 4.0.0.2397 - 121 - API License to Cloud Demo

<back to all web services

MissionUpdateDetail

Requires Authentication
The following routes are available for this service:
All Verbs/MissionUpdateDetail/{ID}/{QuantityPrepared}
import 'package:servicestack/servicestack.dart';

class MissionUpdateDetail implements IConvertible
{
    /**
    * Label ID
    */
    // @ApiMember(Description="Label ID", IsRequired=true)
    int? ID;

    /**
    * Quantity the operator prepared
    */
    // @ApiMember(Description="Quantity the operator prepared", IsRequired=true)
    double? QuantityPrepared;

    /**
    * Related batch value
    */
    // @ApiMember(Description="Related batch value")
    String? Batch;

    /**
    * Related target container code
    */
    // @ApiMember(Description="Related target container code")
    String? ContainerCode;

    /**
    * Data1 will be modified with the given value
    */
    // @ApiMember(Description="Data1 will be modified with the given value")
    String? Data1;

    /**
    * Data2 will be modified with the given value
    */
    // @ApiMember(Description="Data2 will be modified with the given value")
    String? Data2;

    /**
    * Data3 will be modified with the given value
    */
    // @ApiMember(Description="Data3 will be modified with the given value")
    String? Data3;

    /**
    * Data4 will be modified with the given value
    */
    // @ApiMember(Description="Data4 will be modified with the given value")
    String? Data4;

    /**
    * Data5 will be modified with the given value
    */
    // @ApiMember(Description="Data5 will be modified with the given value")
    String? Data5;

    /**
    * Data6 will be modified with the given value
    */
    // @ApiMember(Description="Data6 will be modified with the given value")
    String? Data6;

    /**
    * Data7 will be modified with the given value
    */
    // @ApiMember(Description="Data7 will be modified with the given value")
    String? Data7;

    /**
    * Data8 will be modified with the given value
    */
    // @ApiMember(Description="Data8 will be modified with the given value")
    String? Data8;

    /**
    * Data9 will be modified with the given value
    */
    // @ApiMember(Description="Data9 will be modified with the given value")
    String? Data9;

    /**
    * Data10 will be modified with the given value
    */
    // @ApiMember(Description="Data10 will be modified with the given value")
    String? Data10;

    /**
    * Data11 will be modified with the given value
    */
    // @ApiMember(Description="Data11 will be modified with the given value")
    String? Data11;

    /**
    * Stockroom name
    */
    // @ApiMember(Description="Stockroom name")
    String? StockroomName;

    /**
    * Product's version selected
    */
    // @ApiMember(Description="Product's version selected")
    String? VersionSelected;

    /**
    * Owner
    */
    // @ApiMember(Description="Owner")
    String? Owner;

    /**
    * Allow destock qty in db
    */
    // @ApiMember(Description="Allow destock qty in db")
    bool? UpdateStockQty;

    MissionUpdateDetail({this.ID,this.QuantityPrepared,this.Batch,this.ContainerCode,this.Data1,this.Data2,this.Data3,this.Data4,this.Data5,this.Data6,this.Data7,this.Data8,this.Data9,this.Data10,this.Data11,this.StockroomName,this.VersionSelected,this.Owner,this.UpdateStockQty});
    MissionUpdateDetail.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ID = json['ID'];
        QuantityPrepared = JsonConverters.toDouble(json['QuantityPrepared']);
        Batch = json['Batch'];
        ContainerCode = json['ContainerCode'];
        Data1 = json['Data1'];
        Data2 = json['Data2'];
        Data3 = json['Data3'];
        Data4 = json['Data4'];
        Data5 = json['Data5'];
        Data6 = json['Data6'];
        Data7 = json['Data7'];
        Data8 = json['Data8'];
        Data9 = json['Data9'];
        Data10 = json['Data10'];
        Data11 = json['Data11'];
        StockroomName = json['StockroomName'];
        VersionSelected = json['VersionSelected'];
        Owner = json['Owner'];
        UpdateStockQty = json['UpdateStockQty'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ID': ID,
        'QuantityPrepared': QuantityPrepared,
        'Batch': Batch,
        'ContainerCode': ContainerCode,
        'Data1': Data1,
        'Data2': Data2,
        'Data3': Data3,
        'Data4': Data4,
        'Data5': Data5,
        'Data6': Data6,
        'Data7': Data7,
        'Data8': Data8,
        'Data9': Data9,
        'Data10': Data10,
        'Data11': Data11,
        'StockroomName': StockroomName,
        'VersionSelected': VersionSelected,
        'Owner': Owner,
        'UpdateStockQty': UpdateStockQty
    };

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

TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: <String, TypeInfo> {
    'MissionUpdateDetail': TypeInfo(TypeOf.Class, create:() => MissionUpdateDetail()),
});

Dart MissionUpdateDetail 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 /MissionUpdateDetail/{ID}/{QuantityPrepared} HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ID: 0,
	QuantityPrepared: 0,
	Batch: String,
	ContainerCode: String,
	Data1: String,
	Data2: String,
	Data3: String,
	Data4: String,
	Data5: String,
	Data6: String,
	Data7: String,
	Data8: String,
	Data9: String,
	Data10: String,
	Data11: String,
	StockroomName: String,
	VersionSelected: String,
	Owner: String,
	UpdateStockQty: False
}