Go-to-Light Service 4.0.0.2397 - 121 - API License to Cloud Demo

<back to all web services

UpdateReturnsItemDate

Requires Authentication
The following routes are available for this service:
All Verbs/UpdateReturnsItemDate
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class UpdateReturnsItemDate
{
    /**
    * Returns rack id
    */
    @ApiMember(Description="Returns rack id", IsRequired=true)
    open var ReturnsResult:ReturnsResultInfo? = null

    /**
    * Date
    */
    @ApiMember(Description="Date", IsRequired=true)
    open var ItemDate:Date? = 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 UpdateReturnsItemDate DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /UpdateReturnsItemDate HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: text/jsv
Content-Type: text/jsv
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: 0001-01-01,
			Quantity: 0,
			Status: EMPTY
		},
		RackID: 0,
		EAN: String,
		BatchNumber: String,
		ItemDate: 0001-01-01,
		SpecificCaseToBeTreated: 
		[
			String
		]
	},
	ItemDate: 0001-01-01
}