| 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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/json
Content-Type: application/json
Content-Length: length
{"ReturnsResult":{"Result":"String","Error":"String","Stock":{"StockID":0,"ProductID":"String","ProductAttributeID":"String","Reference":"String","Gtin":"String","GtinAttribute":"String","Label":"String","StockLocation":"String","PhysicalQuantityStockLocation":0,"ReserveStockLocation":"String","PhysicalQuantityReserveStockLocation":0,"NbSKUInPackage":0,"PackageReference":"String","NbSKUInPackage2":0,"PackageReference2":"String","Weight":"String","FillInBatchNumber":false,"FillInDate":false,"PictureURL":"String","StockAdditionals":[{"StockID":0,"Gtin":"String","StockLocation":"String","PhysicalQuantityStockLocation":0}],"SearchKey":"String-String-String-String-String"},"RackPosition":{"ID":0,"ReturnsDispersionRackID":0,"Name":"String","EAN":"String","BatchNumber":"String","ItemDate":"\/Date(-62135596800000-0000)\/","Quantity":0,"Status":"EMPTY"},"RackID":0,"EAN":"String","BatchNumber":"String","ItemDate":"\/Date(-62135596800000-0000)\/","SpecificCaseToBeTreated":["String"]},"BatchNumber":"String"}