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

<back to all web services

MissionAddDetail

Requires Authentication
The following routes are available for this service:
All Verbs/MissionAddDetail/{MissionName}/{Reference}/{Label}/{Quantity}
import Foundation
import ServiceStack

public class MissionAddDetail : Codable
{
    /**
    * Mission name
    */
    // @ApiMember(Description="Mission name", IsRequired=true)
    public var missionName:String

    /**
    * Detail reference
    */
    // @ApiMember(Description="Detail reference", IsRequired=true)
    public var reference:String

    /**
    * Detail label
    */
    // @ApiMember(Description="Detail label", IsRequired=true)
    public var label:String

    /**
    * Quantity
    */
    // @ApiMember(Description="Quantity", IsRequired=true)
    public var quantity:Double

    /**
    * QuantityPrepared
    */
    // @ApiMember(Description="QuantityPrepared")
    public var quantityPrepared:Double

    /**
    * Mission info
    */
    // @ApiMember(Description="Mission info")
    public var missionInfo:String

    /**
    * Tray key
    */
    // @ApiMember(Description="Tray key")
    public var tray:String

    /**
    * Stock Location
    */
    // @ApiMember(Description="Stock Location")
    public var stockLocation:String

    /**
    * To be used to identify with certitude a specific line in the mission result repport.
    */
    // @ApiMember(Description="To be used to identify with certitude a specific line in the mission result repport.")
    public var lineNumber:Int

    /**
    * Info about article (Max 100 chars)
    */
    // @ApiMember(Description="Info about article (Max 100 chars)")
    public var info:String

    /**
    * Position of article (Max 50 chars)
    */
    // @ApiMember(Description="Position of article (Max 50 chars)")
    public var gtin:String

    /**
    * Product reference used by supplier
    */
    // @ApiMember(Description="Product reference used by supplier")
    public var supplierReference:String

    /**
    * Can be used to optimize picking. The mission will be sorted using this value
    */
    // @ApiMember(Description="Can be used to optimize picking. The mission will be sorted using this value")
    public var pickingIndex:Int

    /**
    * Defines if an article is substitutable
    */
    // @ApiMember(Description="Defines if an article is substitutable")
    public var substitutable:Bool?

    /**
    * Defines the new Reference of substituted article
    */
    // @ApiMember(Description="Defines the new Reference of substituted article")
    public var substitutionRef:String

    /**
    * Unique reference of a containing package
    */
    // @ApiMember(Description="Unique reference of a containing package")
    public var packageReference:String

    /**
    * Number of articles contained in the package
    */
    // @ApiMember(Description="Number of articles contained in the package")
    public var nbSKUInPackage:Int?

    /**
    * Unique reference of a containing package (additional)
    */
    // @ApiMember(Description="Unique reference of a containing package (additional)")
    public var packageReference2:String

    /**
    * Number of articles contained in the package (additional)
    */
    // @ApiMember(Description="Number of articles contained in the package (additional)")
    public var nbSKUInPackage2:Int?

    /**
    * Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB.
    */
    // @ApiMember(Description="Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB.")
    public var resolveStockLocation:Bool?

    /**
    * Weight per Item in Kg
    */
    // @ApiMember(Description="Weight per Item in Kg")
    public var weightPerItemInKg:Float?

    /**
    * Volume per Item in m3
    */
    // @ApiMember(Description="Volume per Item in m3")
    public var volumePerItemInM3:Float?

    /**
    * URL of picture
    */
    // @ApiMember(Description="URL of picture")
    public var pictureURL:String

    /**
    * Mesure of the item if it is by weight or by piece
    */
    // @ApiMember(Description="Mesure of the item if it is by weight or by piece")
    public var quantityUnit:String

    /**
    * Product versions
    */
    // @ApiMember(Description="Product versions")
    public var versions:[String] = []

    /**
    * Use to know if product need force scan EAN or not
    */
    // @ApiMember(Description="Use to know if product need force scan EAN or not")
    public var isProductCritical:Bool?

    /**
    * Mission type
    */
    // @ApiMember(Description="Mission type")
    public var missionType:String

    required public init(){}
}


Swift MissionAddDetail 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 /MissionAddDetail/{MissionName}/{Reference}/{Label}/{Quantity} HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"MissionName":"String","Reference":"String","Label":"String","Quantity":0,"QuantityPrepared":0,"MissionInfo":"String","Tray":"String","StockLocation":"String","LineNumber":0,"Info":"String","GTIN":"String","SupplierReference":"String","PickingIndex":0,"Substitutable":false,"SubstitutionRef":"String","PackageReference":"String","NbSKUInPackage":0,"PackageReference2":"String","NbSKUInPackage2":0,"ResolveStockLocation":false,"WeightPerItemInKg":0,"VolumePerItemInM3":0,"PictureURL":"String","QuantityUnit":"String","Versions":["String"],"IsProductCritical":false,"MissionType":"String"}