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 Foundation
import ServiceStack

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

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

    /**
    * Delete automatically when completed
    */
    // @ApiMember(Description="Delete automatically when completed")
    public var deleteWhenCompleted:Bool?

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

    /**
    * Mission finder key
    */
    // @ApiMember(Description="Mission finder key")
    public var finderKey:String

    /**
    * 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")
    public var type:String

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

    /**
    * Reference of the target printer
    */
    // @ApiMember(Description="Reference of the target printer")
    public var printer:String

    /**
    * Defines if the mission has been cancelled
    */
    // @ApiMember(Description="Defines if the mission has been cancelled")
    public var cancelled:Bool?

    /**
    * Defines if the mission has been blocked
    */
    // @ApiMember(Description="Defines if the mission has been blocked")
    public var blocked:Bool?

    /**
    * Carrier
    */
    // @ApiMember(Description="Carrier")
    public var carrier:String

    /**
    * BatchId
    */
    // @ApiMember(Description="BatchId")
    public var batchId:String

    required public init(){}
}


Swift MissionUpdate DTOs

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

HTTP + JSV

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