| All Verbs | /MissionUpdateDetail/{ID}/{QuantityPrepared} |
|---|
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 MissionUpdateDetail:
# @ApiMember(Description="Label ID", IsRequired=true)
id: int = 0
"""
Label ID
"""
# @ApiMember(Description="Quantity the operator prepared", IsRequired=true)
quantity_prepared: float = 0.0
"""
Quantity the operator prepared
"""
# @ApiMember(Description="Related batch value")
batch: Optional[str] = None
"""
Related batch value
"""
# @ApiMember(Description="Related target container code")
container_code: Optional[str] = None
"""
Related target container code
"""
# @ApiMember(Description="Data1 will be modified with the given value")
data1: Optional[str] = None
"""
Data1 will be modified with the given value
"""
# @ApiMember(Description="Data2 will be modified with the given value")
data2: Optional[str] = None
"""
Data2 will be modified with the given value
"""
# @ApiMember(Description="Data3 will be modified with the given value")
data3: Optional[str] = None
"""
Data3 will be modified with the given value
"""
# @ApiMember(Description="Data4 will be modified with the given value")
data4: Optional[str] = None
"""
Data4 will be modified with the given value
"""
# @ApiMember(Description="Data5 will be modified with the given value")
data5: Optional[str] = None
"""
Data5 will be modified with the given value
"""
# @ApiMember(Description="Data6 will be modified with the given value")
data6: Optional[str] = None
"""
Data6 will be modified with the given value
"""
# @ApiMember(Description="Data7 will be modified with the given value")
data7: Optional[str] = None
"""
Data7 will be modified with the given value
"""
# @ApiMember(Description="Data8 will be modified with the given value")
data8: Optional[str] = None
"""
Data8 will be modified with the given value
"""
# @ApiMember(Description="Data9 will be modified with the given value")
data9: Optional[str] = None
"""
Data9 will be modified with the given value
"""
# @ApiMember(Description="Data10 will be modified with the given value")
data10: Optional[str] = None
"""
Data10 will be modified with the given value
"""
# @ApiMember(Description="Data11 will be modified with the given value")
data11: Optional[str] = None
"""
Data11 will be modified with the given value
"""
# @ApiMember(Description="Stockroom name")
stockroom_name: Optional[str] = None
"""
Stockroom name
"""
# @ApiMember(Description="Product's version selected")
version_selected: Optional[str] = None
"""
Product's version selected
"""
# @ApiMember(Description="Owner")
owner: Optional[str] = None
"""
Owner
"""
# @ApiMember(Description="Allow destock qty in db")
update_stock_qty: bool = False
"""
Allow destock qty in db
"""
Python MissionUpdateDetail DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /MissionUpdateDetail/{ID}/{QuantityPrepared} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"ID":0,"QuantityPrepared":0,"Batch":"String","ContainerCode":"String","Data1":"String","Data2":"String","Data3":"String","Data4":"String","Data5":"String","Data6":"String","Data7":"String","Data8":"String","Data9":"String","Data10":"String","Data11":"String","StockroomName":"String","VersionSelected":"String","Owner":"String","UpdateStockQty":false}