| All Verbs | /UpdateReturnsItemBatchNumber |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class UpdateReturnsItemBatchNumber
{
/**
* Returns rack id
*/
@ApiMember(Description="Returns rack id", IsRequired=true)
open var ReturnsResult:ReturnsResultInfo? = null
/**
* batch number
*/
@ApiMember(Description="batch number", IsRequired=true)
open var BatchNumber:String? = null
}
open class ReturnsResultInfo
{
open var Result:String? = null
open var Error:String? = null
open var Stock:Stock? = null
open var RackPosition:ReturnsDispatchingRackPosition? = null
open var RackID:Int? = null
open var EAN:String? = null
open var BatchNumber:String? = null
open var ItemDate:Date? = null
open var SpecificCaseToBeTreated:ArrayList<String> = ArrayList<String>()
}
open class Stock
{
open var StockID:Int? = null
open var ProductID:String? = null
open var ProductAttributeID:String? = null
open var Reference:String? = null
open var Gtin:String? = null
open var GtinAttribute:String? = null
open var Label:String? = null
open var StockLocation:String? = null
open var PhysicalQuantityStockLocation:Double? = null
open var ReserveStockLocation:String? = null
open var PhysicalQuantityReserveStockLocation:Double? = null
open var NbSKUInPackage:Int? = null
open var PackageReference:String? = null
open var NbSKUInPackage2:Int? = null
open var PackageReference2:String? = null
open var Weight:String? = null
open var FillInBatchNumber:Boolean? = null
open var FillInDate:Boolean? = null
open var PictureURL:String? = null
open var StockAdditionals:ArrayList<StockAdditional> = ArrayList<StockAdditional>()
open var SearchKey:String? = null
}
open class StockAdditional
{
open var StockID:Int? = null
open var Gtin:String? = null
open var StockLocation:String? = null
open var PhysicalQuantityStockLocation:Double? = null
}
open class ReturnsDispatchingRackPosition
{
open var ID:Int? = null
open var ReturnsDispersionRackID:Int? = null
open var Name:String? = null
open var EAN:String? = null
open var BatchNumber:String? = null
open var ItemDate:Date? = null
open var Quantity:Int? = null
open var Status:ReturnRackPositionStatus? = null
}
enum class ReturnRackPositionStatus
{
Empty,
Used,
Full,
}
Kotlin UpdateReturnsItemBatchNumber 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 /UpdateReturnsItemBatchNumber HTTP/1.1
Host: clouddemo.pickeos.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<UpdateReturnsItemBatchNumber xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoToLightAPI">
<BatchNumber>String</BatchNumber>
<ReturnsResult xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoToLightAPI.Entities">
<d2p1:BatchNumber>String</d2p1:BatchNumber>
<d2p1:EAN>String</d2p1:EAN>
<d2p1:Error>String</d2p1:Error>
<d2p1:ItemDate>0001-01-01T00:00:00</d2p1:ItemDate>
<d2p1:RackID>0</d2p1:RackID>
<d2p1:RackPosition>
<d2p1:BatchNumber>String</d2p1:BatchNumber>
<d2p1:EAN>String</d2p1:EAN>
<d2p1:ID>0</d2p1:ID>
<d2p1:ItemDate>0001-01-01T00:00:00</d2p1:ItemDate>
<d2p1:Name>String</d2p1:Name>
<d2p1:Quantity>0</d2p1:Quantity>
<d2p1:ReturnsDispersionRackID>0</d2p1:ReturnsDispersionRackID>
<d2p1:Status>EMPTY</d2p1:Status>
</d2p1:RackPosition>
<d2p1:Result>String</d2p1:Result>
<d2p1:SpecificCaseToBeTreated xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</d2p1:SpecificCaseToBeTreated>
<d2p1:Stock>
<FillInBatchNumber>false</FillInBatchNumber>
<FillInDate>false</FillInDate>
<Gtin>String</Gtin>
<GtinAttribute>String</GtinAttribute>
<Label>String</Label>
<NbSKUInPackage>0</NbSKUInPackage>
<NbSKUInPackage2>0</NbSKUInPackage2>
<PackageReference>String</PackageReference>
<PackageReference2>String</PackageReference2>
<PhysicalQuantityReserveStockLocation>0</PhysicalQuantityReserveStockLocation>
<PhysicalQuantityStockLocation>0</PhysicalQuantityStockLocation>
<PictureURL>String</PictureURL>
<ProductAttributeID>String</ProductAttributeID>
<ProductID>String</ProductID>
<Reference>String</Reference>
<ReserveStockLocation>String</ReserveStockLocation>
<StockAdditionals>
<StockAdditional>
<Gtin>String</Gtin>
<PhysicalQuantityStockLocation>0</PhysicalQuantityStockLocation>
<StockID>0</StockID>
<StockLocation>String</StockLocation>
</StockAdditional>
</StockAdditionals>
<StockID>0</StockID>
<StockLocation>String</StockLocation>
<Weight>String</Weight>
</d2p1:Stock>
</ReturnsResult>
</UpdateReturnsItemBatchNumber>