| All Verbs | /MissionAddDetail/{MissionName}/{Reference}/{Label}/{Quantity} |
|---|
"use strict";
export class MissionAddDetail {
/** @param {{MissionName?:string,Reference?:string,Label?:string,Quantity?:number,QuantityPrepared?:number,MissionInfo?:string,Tray?:string,StockLocation?:string,LineNumber?:number,Info?:string,GTIN?:string,SupplierReference?:string,PickingIndex?:number,Substitutable?:boolean,SubstitutionRef?:string,PackageReference?:string,NbSKUInPackage?:number,PackageReference2?:string,NbSKUInPackage2?:number,ResolveStockLocation?:boolean,WeightPerItemInKg?:number,VolumePerItemInM3?:number,PictureURL?:string,QuantityUnit?:string,Versions?:string[],IsProductCritical?:boolean,MissionType?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description Mission name */
MissionName;
/**
* @type {string}
* @description Detail reference */
Reference;
/**
* @type {string}
* @description Detail label */
Label;
/**
* @type {number}
* @description Quantity */
Quantity;
/**
* @type {number}
* @description QuantityPrepared */
QuantityPrepared;
/**
* @type {string}
* @description Mission info */
MissionInfo;
/**
* @type {string}
* @description Tray key */
Tray;
/**
* @type {string}
* @description Stock Location */
StockLocation;
/**
* @type {number}
* @description To be used to identify with certitude a specific line in the mission result repport. */
LineNumber;
/**
* @type {string}
* @description Info about article (Max 100 chars) */
Info;
/**
* @type {string}
* @description Position of article (Max 50 chars) */
GTIN;
/**
* @type {string}
* @description Product reference used by supplier */
SupplierReference;
/**
* @type {number}
* @description Can be used to optimize picking. The mission will be sorted using this value */
PickingIndex;
/**
* @type {?boolean}
* @description Defines if an article is substitutable */
Substitutable;
/**
* @type {string}
* @description Defines the new Reference of substituted article */
SubstitutionRef;
/**
* @type {string}
* @description Unique reference of a containing package */
PackageReference;
/**
* @type {?number}
* @description Number of articles contained in the package */
NbSKUInPackage;
/**
* @type {string}
* @description Unique reference of a containing package (additional) */
PackageReference2;
/**
* @type {?number}
* @description Number of articles contained in the package (additional) */
NbSKUInPackage2;
/**
* @type {?boolean}
* @description Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB. */
ResolveStockLocation;
/**
* @type {?number}
* @description Weight per Item in Kg */
WeightPerItemInKg;
/**
* @type {?number}
* @description Volume per Item in m3 */
VolumePerItemInM3;
/**
* @type {string}
* @description URL of picture */
PictureURL;
/**
* @type {string}
* @description Mesure of the item if it is by weight or by piece */
QuantityUnit;
/**
* @type {string[]}
* @description Product versions */
Versions = [];
/**
* @type {?boolean}
* @description Use to know if product need force scan EAN or not */
IsProductCritical;
/**
* @type {string}
* @description Mission type */
MissionType;
}
JavaScript MissionAddDetail DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /MissionAddDetail/{MissionName}/{Reference}/{Label}/{Quantity} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
MissionName: String,
Reference: String,
Label: String,
Quantity: 0,
QuantityPrepared: 0,
MissionInfo: String,
Tray: String,
StockLocation: String,
LineNumber: 0,
Info: String,
GTIN: String,
SupplierReference: String,
PickingIndex: 0,
Substitutable: False,
SubstitutionRef: String,
PackageReference: String,
NbSKUInPackage: 0,
PackageReference2: String,
NbSKUInPackage2: 0,
ResolveStockLocation: False,
WeightPerItemInKg: 0,
VolumePerItemInM3: 0,
PictureURL: String,
QuantityUnit: String,
Versions:
[
String
],
IsProductCritical: False,
MissionType: String
}