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

<back to all web services

MissionUpdate

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

class MissionUpdate implements IConvertible
{
    /**
    * Mission name
    */
    // @ApiMember(Description="Mission name", IsRequired=true)
    String? Name;

    /**
    * Mission info
    */
    // @ApiMember(Description="Mission info")
    String? Info;

    /**
    * Delete automatically when completed
    */
    // @ApiMember(Description="Delete automatically when completed")
    bool? DeleteWhenCompleted;

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

    /**
    * Mission finder key
    */
    // @ApiMember(Description="Mission finder key")
    String? FinderKey;

    /**
    * Defines the mission type. Value can be: E = Entrée/Réapro/Restock, S = Sortie/Picking/Prépa commande or, I = Inventaire/Inventory
    */
    // @ApiMember(Description="Defines the mission type. Value can be: E = Entrée/Réapro/Restock, S = Sortie/Picking/Prépa commande or, I = Inventaire/Inventory")
    String? Type;

    /**
    * Mission trolley
    */
    // @ApiMember(Description="Mission trolley")
    String? Trolley;

    /**
    * Reference of the target printer
    */
    // @ApiMember(Description="Reference of the target printer")
    String? Printer;

    /**
    * Defines if the mission has been cancelled
    */
    // @ApiMember(Description="Defines if the mission has been cancelled")
    bool? Cancelled;

    /**
    * Defines if the mission has been blocked
    */
    // @ApiMember(Description="Defines if the mission has been blocked")
    bool? Blocked;

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

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

    MissionUpdate({this.Name,this.Info,this.DeleteWhenCompleted,this.Owner,this.FinderKey,this.Type,this.Trolley,this.Printer,this.Cancelled,this.Blocked,this.Carrier,this.BatchId});
    MissionUpdate.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Name = json['Name'];
        Info = json['Info'];
        DeleteWhenCompleted = json['DeleteWhenCompleted'];
        Owner = json['Owner'];
        FinderKey = json['FinderKey'];
        Type = json['Type'];
        Trolley = json['Trolley'];
        Printer = json['Printer'];
        Cancelled = json['Cancelled'];
        Blocked = json['Blocked'];
        Carrier = json['Carrier'];
        BatchId = json['BatchId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Name': Name,
        'Info': Info,
        'DeleteWhenCompleted': DeleteWhenCompleted,
        'Owner': Owner,
        'FinderKey': FinderKey,
        'Type': Type,
        'Trolley': Trolley,
        'Printer': Printer,
        'Cancelled': Cancelled,
        'Blocked': Blocked,
        'Carrier': Carrier,
        'BatchId': BatchId
    };

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

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

Dart MissionUpdate DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /MissionUpdate/{Name} HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Name":"String","Info":"String","DeleteWhenCompleted":false,"Owner":"String","FinderKey":"String","Type":"String","Trolley":"String","Printer":"String","Cancelled":false,"Blocked":false,"Carrier":"String","BatchId":"String"}