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 datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class MissionUpdate:
    # @ApiMember(Description="Mission name", IsRequired=true)
    name: Optional[str] = None
    """
    Mission name
    """


    # @ApiMember(Description="Mission info")
    info: Optional[str] = None
    """
    Mission info
    """


    # @ApiMember(Description="Delete automatically when completed")
    delete_when_completed: Optional[bool] = None
    """
    Delete automatically when completed
    """


    # @ApiMember(Description="Mission owner")
    owner: Optional[str] = None
    """
    Mission owner
    """


    # @ApiMember(Description="Mission finder key")
    finder_key: Optional[str] = None
    """
    Mission finder key
    """


    # @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")
    type: Optional[str] = None
    """
    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="Mission trolley")
    trolley: Optional[str] = None
    """
    Mission trolley
    """


    # @ApiMember(Description="Reference of the target printer")
    printer: Optional[str] = None
    """
    Reference of the target printer
    """


    # @ApiMember(Description="Defines if the mission has been cancelled")
    cancelled: Optional[bool] = None
    """
    Defines if the mission has been cancelled
    """


    # @ApiMember(Description="Defines if the mission has been blocked")
    blocked: Optional[bool] = None
    """
    Defines if the mission has been blocked
    """


    # @ApiMember(Description="Carrier")
    carrier: Optional[str] = None
    """
    Carrier
    """


    # @ApiMember(Description="BatchId")
    batch_id: Optional[str] = None
    """
    BatchId
    """

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

<MissionUpdate 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>
</MissionUpdate>