| 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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<MissionUpdateDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoToLightAPI">
<Batch>String</Batch>
<ContainerCode>String</ContainerCode>
<Data1>String</Data1>
<Data10>String</Data10>
<Data11>String</Data11>
<Data2>String</Data2>
<Data3>String</Data3>
<Data4>String</Data4>
<Data5>String</Data5>
<Data6>String</Data6>
<Data7>String</Data7>
<Data8>String</Data8>
<Data9>String</Data9>
<ID>0</ID>
<Owner>String</Owner>
<QuantityPrepared>0</QuantityPrepared>
<StockroomName>String</StockroomName>
<UpdateStockQty>false</UpdateStockQty>
<VersionSelected>String</VersionSelected>
</MissionUpdateDetail>