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}
namespace GoToLightAPI

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type MissionAddDetail() = 
        ///<summary>
        ///Mission name
        ///</summary>
        [<ApiMember(Description="Mission name", IsRequired=true)>]
        member val MissionName:String = null with get,set

        ///<summary>
        ///Detail reference
        ///</summary>
        [<ApiMember(Description="Detail reference", IsRequired=true)>]
        member val Reference:String = null with get,set

        ///<summary>
        ///Detail label
        ///</summary>
        [<ApiMember(Description="Detail label", IsRequired=true)>]
        member val Label:String = null with get,set

        ///<summary>
        ///Quantity
        ///</summary>
        [<ApiMember(Description="Quantity", IsRequired=true)>]
        member val Quantity:Double = new Double() with get,set

        ///<summary>
        ///QuantityPrepared
        ///</summary>
        [<ApiMember(Description="QuantityPrepared")>]
        member val QuantityPrepared:Double = new Double() with get,set

        ///<summary>
        ///Mission info
        ///</summary>
        [<ApiMember(Description="Mission info")>]
        member val MissionInfo:String = null with get,set

        ///<summary>
        ///Tray key
        ///</summary>
        [<ApiMember(Description="Tray key")>]
        member val Tray:String = null with get,set

        ///<summary>
        ///Stock Location
        ///</summary>
        [<ApiMember(Description="Stock Location")>]
        member val StockLocation:String = null with get,set

        ///<summary>
        ///To be used to identify with certitude a specific line in the mission result repport.
        ///</summary>
        [<ApiMember(Description="To be used to identify with certitude a specific line in the mission result repport.")>]
        member val LineNumber:Int32 = new Int32() with get,set

        ///<summary>
        ///Info about article (Max 100 chars)
        ///</summary>
        [<ApiMember(Description="Info about article (Max 100 chars)")>]
        member val Info:String = null with get,set

        ///<summary>
        ///Position of article (Max 50 chars)
        ///</summary>
        [<ApiMember(Description="Position of article (Max 50 chars)")>]
        member val GTIN:String = null with get,set

        ///<summary>
        ///Product reference used by supplier
        ///</summary>
        [<ApiMember(Description="Product reference used by supplier")>]
        member val SupplierReference:String = null with get,set

        ///<summary>
        ///Can be used to optimize picking. The mission will be sorted using this value
        ///</summary>
        [<ApiMember(Description="Can be used to optimize picking. The mission will be sorted using this value")>]
        member val PickingIndex:Int32 = new Int32() with get,set

        ///<summary>
        ///Defines if an article is substitutable
        ///</summary>
        [<ApiMember(Description="Defines if an article is substitutable")>]
        member val Substitutable:Nullable<Boolean> = new Nullable<Boolean>() with get,set

        ///<summary>
        ///Defines the new Reference of substituted article
        ///</summary>
        [<ApiMember(Description="Defines the new Reference of substituted article")>]
        member val SubstitutionRef:String = null with get,set

        ///<summary>
        ///Unique reference of a containing package
        ///</summary>
        [<ApiMember(Description="Unique reference of a containing package")>]
        member val PackageReference:String = null with get,set

        ///<summary>
        ///Number of articles contained in the package
        ///</summary>
        [<ApiMember(Description="Number of articles contained in the package")>]
        member val NbSKUInPackage:Nullable<Int32> = new Nullable<Int32>() with get,set

        ///<summary>
        ///Unique reference of a containing package (additional)
        ///</summary>
        [<ApiMember(Description="Unique reference of a containing package (additional)")>]
        member val PackageReference2:String = null with get,set

        ///<summary>
        ///Number of articles contained in the package (additional)
        ///</summary>
        [<ApiMember(Description="Number of articles contained in the package (additional)")>]
        member val NbSKUInPackage2:Nullable<Int32> = new Nullable<Int32>() with get,set

        ///<summary>
        ///Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB.
        ///</summary>
        [<ApiMember(Description="Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB.")>]
        member val ResolveStockLocation:Nullable<Boolean> = new Nullable<Boolean>() with get,set

        ///<summary>
        ///Weight per Item in Kg
        ///</summary>
        [<ApiMember(Description="Weight per Item in Kg")>]
        member val WeightPerItemInKg:Nullable<Single> = new Nullable<Single>() with get,set

        ///<summary>
        ///Volume per Item in m3
        ///</summary>
        [<ApiMember(Description="Volume per Item in m3")>]
        member val VolumePerItemInM3:Nullable<Single> = new Nullable<Single>() with get,set

        ///<summary>
        ///URL of picture
        ///</summary>
        [<ApiMember(Description="URL of picture")>]
        member val PictureURL:String = null with get,set

        ///<summary>
        ///Mesure of the item if it is by weight or by piece
        ///</summary>
        [<ApiMember(Description="Mesure of the item if it is by weight or by piece")>]
        member val QuantityUnit:String = null with get,set

        ///<summary>
        ///Product versions
        ///</summary>
        [<ApiMember(Description="Product versions")>]
        member val Versions:ResizeArray<String> = null with get,set

        ///<summary>
        ///Use to know if product need force scan EAN or not
        ///</summary>
        [<ApiMember(Description="Use to know if product need force scan EAN or not")>]
        member val IsProductCritical:Nullable<Boolean> = new Nullable<Boolean>() with get,set

        ///<summary>
        ///Mission type
        ///</summary>
        [<ApiMember(Description="Mission type")>]
        member val MissionType:String = null with get,set

F# MissionAddDetail DTOs

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

HTTP + CSV

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: text/csv
Content-Type: text/csv
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"}