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}
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 MissionUpdate() = 
        ///<summary>
        ///Mission name
        ///</summary>
        [<ApiMember(Description="Mission name", IsRequired=true)>]
        member val Name:String = null with get,set

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

        ///<summary>
        ///Delete automatically when completed
        ///</summary>
        [<ApiMember(Description="Delete automatically when completed")>]
        member val DeleteWhenCompleted:Nullable<Boolean> = new Nullable<Boolean>() with get,set

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

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

        ///<summary>
        ///Defines the mission type. Value can be: E = Entrée/Réapro/Restock, S = Sortie/Picking/Prépa commande or, I = Inventaire/Inventory
        ///</summary>
        [<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")>]
        member val Type:String = null with get,set

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

        ///<summary>
        ///Reference of the target printer
        ///</summary>
        [<ApiMember(Description="Reference of the target printer")>]
        member val Printer:String = null with get,set

        ///<summary>
        ///Defines if the mission has been cancelled
        ///</summary>
        [<ApiMember(Description="Defines if the mission has been cancelled")>]
        member val Cancelled:Nullable<Boolean> = new Nullable<Boolean>() with get,set

        ///<summary>
        ///Defines if the mission has been blocked
        ///</summary>
        [<ApiMember(Description="Defines if the mission has been blocked")>]
        member val Blocked:Nullable<Boolean> = new Nullable<Boolean>() with get,set

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

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

F# 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"}