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

<back to all web services

MissionCreate

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

class MissionCreate 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;

    MissionCreate({this.Name,this.Info,this.DeleteWhenCompleted,this.Owner,this.FinderKey,this.Type,this.Trolley,this.Printer,this.Cancelled,this.Blocked,this.Carrier,this.BatchId});
    MissionCreate.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() => "MissionCreate";
    TypeContext? context = _ctx;
}

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

Dart MissionCreate 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 /MissionCreate/{Name} HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<MissionCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoToLightAPI">
  <BatchId>String</BatchId>
  <Blocked>false</Blocked>
  <Cancelled>false</Cancelled>
  <Carrier>String</Carrier>
  <DeleteWhenCompleted>false</DeleteWhenCompleted>
  <FinderKey>String</FinderKey>
  <Info>String</Info>
  <Name>String</Name>
  <Owner>String</Owner>
  <Printer>String</Printer>
  <Trolley>String</Trolley>
  <Type>String</Type>
</MissionCreate>