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

<back to all web services

AnomalyConfirmDispatch

Requires Authentication
The following routes are available for this service:
All Verbs/AnomalyConfirmDispatch
import 'package:servicestack/servicestack.dart';

class AnomalyConfirmDispatch implements IConvertible
{
    /**
    * Tray code scanned
    */
    // @ApiMember(Description="Tray code scanned", IsRequired=true)
    String? ItemBarcode;

    /**
    * ID mission
    */
    // @ApiMember(Description="ID mission", IsRequired=true)
    int? MissionID;

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

    AnomalyConfirmDispatch({this.ItemBarcode,this.MissionID,this.Printer});
    AnomalyConfirmDispatch.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ItemBarcode = json['ItemBarcode'];
        MissionID = json['MissionID'];
        Printer = json['Printer'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ItemBarcode': ItemBarcode,
        'MissionID': MissionID,
        'Printer': Printer
    };

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

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

Dart AnomalyConfirmDispatch DTOs

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

HTTP + OTHER

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

POST /AnomalyConfirmDispatch HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"ItemBarcode":"String","MissionID":0,"Printer":"String"}