| 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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<MissionAddDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoToLightAPI">
<GTIN>String</GTIN>
<Info>String</Info>
<IsProductCritical>false</IsProductCritical>
<Label>String</Label>
<LineNumber>0</LineNumber>
<MissionInfo>String</MissionInfo>
<MissionName>String</MissionName>
<MissionType>String</MissionType>
<NbSKUInPackage>0</NbSKUInPackage>
<NbSKUInPackage2>0</NbSKUInPackage2>
<PackageReference>String</PackageReference>
<PackageReference2>String</PackageReference2>
<PickingIndex>0</PickingIndex>
<PictureURL>String</PictureURL>
<Quantity>0</Quantity>
<QuantityPrepared>0</QuantityPrepared>
<QuantityUnit>String</QuantityUnit>
<Reference>String</Reference>
<ResolveStockLocation>false</ResolveStockLocation>
<StockLocation>String</StockLocation>
<Substitutable>false</Substitutable>
<SubstitutionRef>String</SubstitutionRef>
<SupplierReference>String</SupplierReference>
<Tray>String</Tray>
<Versions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</Versions>
<VolumePerItemInM3>0</VolumePerItemInM3>
<WeightPerItemInKg>0</WeightPerItemInKg>
</MissionAddDetail>