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

<back to all web services

ValidateDispatchReturnsItem

Requires Authentication
The following routes are available for this service:
All Verbs/ValidateDispatchReturnsItem
"use strict";
export class StockAdditional {
    /** @param {{StockID?:number,Gtin?:string,StockLocation?:string,PhysicalQuantityStockLocation?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    StockID;
    /** @type {string} */
    Gtin;
    /** @type {string} */
    StockLocation;
    /** @type {number} */
    PhysicalQuantityStockLocation;
}
export class Stock {
    /** @param {{StockID?:number,ProductID?:string,ProductAttributeID?:string,Reference?:string,Gtin?:string,GtinAttribute?:string,Label?:string,StockLocation?:string,PhysicalQuantityStockLocation?:number,ReserveStockLocation?:string,PhysicalQuantityReserveStockLocation?:number,NbSKUInPackage?:number,PackageReference?:string,NbSKUInPackage2?:number,PackageReference2?:string,Weight?:string,FillInBatchNumber?:boolean,FillInDate?:boolean,PictureURL?:string,StockAdditionals?:StockAdditional[],SearchKey?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    StockID;
    /** @type {string} */
    ProductID;
    /** @type {string} */
    ProductAttributeID;
    /** @type {string} */
    Reference;
    /** @type {string} */
    Gtin;
    /** @type {string} */
    GtinAttribute;
    /** @type {string} */
    Label;
    /** @type {string} */
    StockLocation;
    /** @type {number} */
    PhysicalQuantityStockLocation;
    /** @type {string} */
    ReserveStockLocation;
    /** @type {number} */
    PhysicalQuantityReserveStockLocation;
    /** @type {?number} */
    NbSKUInPackage;
    /** @type {string} */
    PackageReference;
    /** @type {?number} */
    NbSKUInPackage2;
    /** @type {string} */
    PackageReference2;
    /** @type {string} */
    Weight;
    /** @type {boolean} */
    FillInBatchNumber;
    /** @type {boolean} */
    FillInDate;
    /** @type {string} */
    PictureURL;
    /** @type {StockAdditional[]} */
    StockAdditionals = [];
    /** @type {string} */
    SearchKey;
}
/** @typedef {'EMPTY'|'USED'|'FULL'} */
export var ReturnRackPositionStatus;
(function (ReturnRackPositionStatus) {
    ReturnRackPositionStatus["EMPTY"] = "EMPTY"
    ReturnRackPositionStatus["USED"] = "USED"
    ReturnRackPositionStatus["FULL"] = "FULL"
})(ReturnRackPositionStatus || (ReturnRackPositionStatus = {}));
export class ReturnsDispatchingRackPosition {
    /** @param {{ID?:number,ReturnsDispersionRackID?:number,Name?:string,EAN?:string,BatchNumber?:string,ItemDate?:string,Quantity?:number,Status?:ReturnRackPositionStatus}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    ID;
    /** @type {number} */
    ReturnsDispersionRackID;
    /** @type {string} */
    Name;
    /** @type {string} */
    EAN;
    /** @type {string} */
    BatchNumber;
    /** @type {?string} */
    ItemDate;
    /** @type {number} */
    Quantity;
    /** @type {ReturnRackPositionStatus} */
    Status;
}
export class ReturnsResultInfo {
    /** @param {{Result?:string,Error?:string,Stock?:Stock,RackPosition?:ReturnsDispatchingRackPosition,RackID?:number,EAN?:string,BatchNumber?:string,ItemDate?:string,SpecificCaseToBeTreated?:string[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Result;
    /** @type {string} */
    Error;
    /** @type {Stock} */
    Stock;
    /** @type {ReturnsDispatchingRackPosition} */
    RackPosition;
    /** @type {number} */
    RackID;
    /** @type {string} */
    EAN;
    /** @type {string} */
    BatchNumber;
    /** @type {?string} */
    ItemDate;
    /** @type {string[]} */
    SpecificCaseToBeTreated = [];
}
export class ValidateDispatchReturnsItem {
    /** @param {{ReturnsResult?:ReturnsResultInfo,RackID?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {ReturnsResultInfo}
     * @description Returns rack result  */
    ReturnsResult;
    /**
     * @type {number}
     * @description rack id */
    RackID;
}

JavaScript ValidateDispatchReturnsItem 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 /ValidateDispatchReturnsItem 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
		]
	},
	RackID: 0
}