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

<back to all web services

ScanReturnsItemDataPoster

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

public class dtos
{

    public static class ScanReturnsItemDataPoster
    {
        /**
        * Returns rack result 
        */
        @ApiMember(Description="Returns rack result ", IsRequired=true)
        public ReturnsResultInfo ReturnsResult = null;

        /**
        * rack id
        */
        @ApiMember(Description="rack id", IsRequired=true)
        public Integer RackID = null;
        
        public ReturnsResultInfo getReturnsResult() { return ReturnsResult; }
        public ScanReturnsItemDataPoster setReturnsResult(ReturnsResultInfo value) { this.ReturnsResult = value; return this; }
        public Integer getRackID() { return RackID; }
        public ScanReturnsItemDataPoster setRackID(Integer value) { this.RackID = value; return this; }
    }

    public static class ReturnsResultInfo
    {
        public String Result = null;
        public String Error = null;
        public Stock Stock = null;
        public ReturnsDispatchingRackPosition RackPosition = null;
        public Integer RackID = null;
        public String EAN = null;
        public String BatchNumber = null;
        public Date ItemDate = null;
        public ArrayList<String> SpecificCaseToBeTreated = new ArrayList<String>();
        
        public String getResult() { return Result; }
        public ReturnsResultInfo setResult(String value) { this.Result = value; return this; }
        public String getError() { return Error; }
        public ReturnsResultInfo setError(String value) { this.Error = value; return this; }
        public Stock getStock() { return Stock; }
        public ReturnsResultInfo setStock(Stock value) { this.Stock = value; return this; }
        public ReturnsDispatchingRackPosition getRackPosition() { return RackPosition; }
        public ReturnsResultInfo setRackPosition(ReturnsDispatchingRackPosition value) { this.RackPosition = value; return this; }
        public Integer getRackID() { return RackID; }
        public ReturnsResultInfo setRackID(Integer value) { this.RackID = value; return this; }
        public String getEan() { return EAN; }
        public ReturnsResultInfo setEan(String value) { this.EAN = value; return this; }
        public String getBatchNumber() { return BatchNumber; }
        public ReturnsResultInfo setBatchNumber(String value) { this.BatchNumber = value; return this; }
        public Date getItemDate() { return ItemDate; }
        public ReturnsResultInfo setItemDate(Date value) { this.ItemDate = value; return this; }
        public ArrayList<String> getSpecificCaseToBeTreated() { return SpecificCaseToBeTreated; }
        public ReturnsResultInfo setSpecificCaseToBeTreated(ArrayList<String> value) { this.SpecificCaseToBeTreated = value; return this; }
    }

    public static class Stock
    {
        public Integer StockID = null;
        public String ProductID = null;
        public String ProductAttributeID = null;
        public String Reference = null;
        public String Gtin = null;
        public String GtinAttribute = null;
        public String Label = null;
        public String StockLocation = null;
        public Double PhysicalQuantityStockLocation = null;
        public String ReserveStockLocation = null;
        public Double PhysicalQuantityReserveStockLocation = null;
        public Integer NbSKUInPackage = null;
        public String PackageReference = null;
        public Integer NbSKUInPackage2 = null;
        public String PackageReference2 = null;
        public String Weight = null;
        public Boolean FillInBatchNumber = null;
        public Boolean FillInDate = null;
        public String PictureURL = null;
        public ArrayList<StockAdditional> StockAdditionals = new ArrayList<StockAdditional>();
        public String SearchKey = null;
        
        public Integer getStockID() { return StockID; }
        public Stock setStockID(Integer value) { this.StockID = value; return this; }
        public String getProductID() { return ProductID; }
        public Stock setProductID(String value) { this.ProductID = value; return this; }
        public String getProductAttributeID() { return ProductAttributeID; }
        public Stock setProductAttributeID(String value) { this.ProductAttributeID = value; return this; }
        public String getReference() { return Reference; }
        public Stock setReference(String value) { this.Reference = value; return this; }
        public String getGtin() { return Gtin; }
        public Stock setGtin(String value) { this.Gtin = value; return this; }
        public String getGtinAttribute() { return GtinAttribute; }
        public Stock setGtinAttribute(String value) { this.GtinAttribute = value; return this; }
        public String getLabel() { return Label; }
        public Stock setLabel(String value) { this.Label = value; return this; }
        public String getStockLocation() { return StockLocation; }
        public Stock setStockLocation(String value) { this.StockLocation = value; return this; }
        public Double getPhysicalQuantityStockLocation() { return PhysicalQuantityStockLocation; }
        public Stock setPhysicalQuantityStockLocation(Double value) { this.PhysicalQuantityStockLocation = value; return this; }
        public String getReserveStockLocation() { return ReserveStockLocation; }
        public Stock setReserveStockLocation(String value) { this.ReserveStockLocation = value; return this; }
        public Double getPhysicalQuantityReserveStockLocation() { return PhysicalQuantityReserveStockLocation; }
        public Stock setPhysicalQuantityReserveStockLocation(Double value) { this.PhysicalQuantityReserveStockLocation = value; return this; }
        public Integer getNbSKUInPackage() { return NbSKUInPackage; }
        public Stock setNbSKUInPackage(Integer value) { this.NbSKUInPackage = value; return this; }
        public String getPackageReference() { return PackageReference; }
        public Stock setPackageReference(String value) { this.PackageReference = value; return this; }
        public Integer getNbSKUInPackage2() { return NbSKUInPackage2; }
        public Stock setNbSKUInPackage2(Integer value) { this.NbSKUInPackage2 = value; return this; }
        public String getPackageReference2() { return PackageReference2; }
        public Stock setPackageReference2(String value) { this.PackageReference2 = value; return this; }
        public String getWeight() { return Weight; }
        public Stock setWeight(String value) { this.Weight = value; return this; }
        public Boolean isFillInBatchNumber() { return FillInBatchNumber; }
        public Stock setFillInBatchNumber(Boolean value) { this.FillInBatchNumber = value; return this; }
        public Boolean isFillInDate() { return FillInDate; }
        public Stock setFillInDate(Boolean value) { this.FillInDate = value; return this; }
        public String getPictureURL() { return PictureURL; }
        public Stock setPictureURL(String value) { this.PictureURL = value; return this; }
        public ArrayList<StockAdditional> getStockAdditionals() { return StockAdditionals; }
        public Stock setStockAdditionals(ArrayList<StockAdditional> value) { this.StockAdditionals = value; return this; }
        public String getSearchKey() { return SearchKey; }
        public Stock setSearchKey(String value) { this.SearchKey = value; return this; }
    }

    public static class StockAdditional
    {
        public Integer StockID = null;
        public String Gtin = null;
        public String StockLocation = null;
        public Double PhysicalQuantityStockLocation = null;
        
        public Integer getStockID() { return StockID; }
        public StockAdditional setStockID(Integer value) { this.StockID = value; return this; }
        public String getGtin() { return Gtin; }
        public StockAdditional setGtin(String value) { this.Gtin = value; return this; }
        public String getStockLocation() { return StockLocation; }
        public StockAdditional setStockLocation(String value) { this.StockLocation = value; return this; }
        public Double getPhysicalQuantityStockLocation() { return PhysicalQuantityStockLocation; }
        public StockAdditional setPhysicalQuantityStockLocation(Double value) { this.PhysicalQuantityStockLocation = value; return this; }
    }

    public static class ReturnsDispatchingRackPosition
    {
        public Integer ID = null;
        public Integer ReturnsDispersionRackID = null;
        public String Name = null;
        public String EAN = null;
        public String BatchNumber = null;
        public Date ItemDate = null;
        public Integer Quantity = null;
        public ReturnRackPositionStatus Status = null;
        
        public Integer getId() { return ID; }
        public ReturnsDispatchingRackPosition setId(Integer value) { this.ID = value; return this; }
        public Integer getReturnsDispersionRackID() { return ReturnsDispersionRackID; }
        public ReturnsDispatchingRackPosition setReturnsDispersionRackID(Integer value) { this.ReturnsDispersionRackID = value; return this; }
        public String getName() { return Name; }
        public ReturnsDispatchingRackPosition setName(String value) { this.Name = value; return this; }
        public String getEan() { return EAN; }
        public ReturnsDispatchingRackPosition setEan(String value) { this.EAN = value; return this; }
        public String getBatchNumber() { return BatchNumber; }
        public ReturnsDispatchingRackPosition setBatchNumber(String value) { this.BatchNumber = value; return this; }
        public Date getItemDate() { return ItemDate; }
        public ReturnsDispatchingRackPosition setItemDate(Date value) { this.ItemDate = value; return this; }
        public Integer getQuantity() { return Quantity; }
        public ReturnsDispatchingRackPosition setQuantity(Integer value) { this.Quantity = value; return this; }
        public ReturnRackPositionStatus getStatus() { return Status; }
        public ReturnsDispatchingRackPosition setStatus(ReturnRackPositionStatus value) { this.Status = value; return this; }
    }

    public static enum ReturnRackPositionStatus
    {
        Empty,
        Used,
        Full;
    }

}

Java ScanReturnsItemDataPoster DTOs

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

HTTP + CSV

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

POST /ScanReturnsItemDataPoster HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: text/csv
Content-Type: text/csv
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"]},"RackID":0}