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 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 MissionAddDetail:
    # @ApiMember(Description="Mission name", IsRequired=true)
    mission_name: Optional[str] = None
    """
    Mission name
    """


    # @ApiMember(Description="Detail reference", IsRequired=true)
    reference: Optional[str] = None
    """
    Detail reference
    """


    # @ApiMember(Description="Detail label", IsRequired=true)
    label: Optional[str] = None
    """
    Detail label
    """


    # @ApiMember(Description="Quantity", IsRequired=true)
    quantity: float = 0.0
    """
    Quantity
    """


    # @ApiMember(Description="QuantityPrepared")
    quantity_prepared: float = 0.0
    """
    QuantityPrepared
    """


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


    # @ApiMember(Description="Tray key")
    tray: Optional[str] = None
    """
    Tray key
    """


    # @ApiMember(Description="Stock Location")
    stock_location: Optional[str] = None
    """
    Stock Location
    """


    # @ApiMember(Description="To be used to identify with certitude a specific line in the mission result repport.")
    line_number: int = 0
    """
    To be used to identify with certitude a specific line in the mission result repport.
    """


    # @ApiMember(Description="Info about article (Max 100 chars)")
    info: Optional[str] = None
    """
    Info about article (Max 100 chars)
    """


    # @ApiMember(Description="Position of article (Max 50 chars)")
    gtin: Optional[str] = None
    """
    Position of article (Max 50 chars)
    """


    # @ApiMember(Description="Product reference used by supplier")
    supplier_reference: Optional[str] = None
    """
    Product reference used by supplier
    """


    # @ApiMember(Description="Can be used to optimize picking. The mission will be sorted using this value")
    picking_index: int = 0
    """
    Can be used to optimize picking. The mission will be sorted using this value
    """


    # @ApiMember(Description="Defines if an article is substitutable")
    substitutable: Optional[bool] = None
    """
    Defines if an article is substitutable
    """


    # @ApiMember(Description="Defines the new Reference of substituted article")
    substitution_ref: Optional[str] = None
    """
    Defines the new Reference of substituted article
    """


    # @ApiMember(Description="Unique reference of a containing package")
    package_reference: Optional[str] = None
    """
    Unique reference of a containing package
    """


    # @ApiMember(Description="Number of articles contained in the package")
    nb_s_k_u_in_package: Optional[int] = None
    """
    Number of articles contained in the package
    """


    # @ApiMember(Description="Unique reference of a containing package (additional)")
    package_reference2: Optional[str] = None
    """
    Unique reference of a containing package (additional)
    """


    # @ApiMember(Description="Number of articles contained in the package (additional)")
    nb_s_k_u_in_package2: Optional[int] = None
    """
    Number of articles contained in the package (additional)
    """


    # @ApiMember(Description="Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB.")
    resolve_stock_location: Optional[bool] = None
    """
    Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB.
    """


    # @ApiMember(Description="Weight per Item in Kg")
    weight_per_item_in_kg: Optional[float] = None
    """
    Weight per Item in Kg
    """


    # @ApiMember(Description="Volume per Item in m3")
    volume_per_item_in_m3: Optional[float] = None
    """
    Volume per Item in m3
    """


    # @ApiMember(Description="URL of picture")
    picture_u_r_l: Optional[str] = None
    """
    URL of picture
    """


    # @ApiMember(Description="Mesure of the item if it is by weight or by piece")
    quantity_unit: Optional[str] = None
    """
    Mesure of the item if it is by weight or by piece
    """


    # @ApiMember(Description="Product versions")
    versions: List[str] = field(default_factory=list)
    """
    Product versions
    """


    # @ApiMember(Description="Use to know if product need force scan EAN or not")
    is_product_critical: Optional[bool] = None
    """
    Use to know if product need force scan EAN or not
    """


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

Python 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"}