| All Verbs | /MissionUpdatePackingMissionDetail |
|---|
"use strict";
export class Position {
/** @param {{ID?:number,Key?:string,Pixel?:number,Width?:number,AreaID?:number,AreaLabel?:string,Label?:string,StockroomID?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
ID;
/** @type {string} */
Key;
/** @type {number} */
Pixel;
/** @type {number} */
Width;
/** @type {number} */
AreaID;
/** @type {string} */
AreaLabel;
/** @type {string} */
Label;
/** @type {?number} */
StockroomID;
}
export class TraceabilityMissionDetail {
/** @param {{IDMissionDetail?:number,PreparedQuantity?:number,Batch?:string,ContainerID?:number,ContainerName?:string,ContainerSizeXCm?:number,ContainerSizeYCm?:number,ContainerSizeZCm?:number,ContainerWeight?:number,StockroomID?:number,StockroomName?:string,Operator?:string,VersionSelected?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
IDMissionDetail;
/** @type {number} */
PreparedQuantity;
/** @type {string} */
Batch;
/** @type {number} */
ContainerID;
/** @type {string} */
ContainerName;
/** @type {number} */
ContainerSizeXCm;
/** @type {number} */
ContainerSizeYCm;
/** @type {number} */
ContainerSizeZCm;
/** @type {number} */
ContainerWeight;
/** @type {number} */
StockroomID;
/** @type {string} */
StockroomName;
/** @type {string} */
Operator;
/** @type {string} */
VersionSelected;
}
export class TraceabilityMissionDetailPacking {
/** @param {{IDMissionDetail?:number,PreparedQuantity?:number,Batch?:string,ContainerID?:number,ContainerName?:string,ContainerSizeXCm?:number,ContainerSizeYCm?:number,ContainerSizeZCm?:number,ContainerWeight?:number,StockroomID?:number,StockroomName?:string,Operator?:string,VersionSelected?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
IDMissionDetail;
/** @type {number} */
PreparedQuantity;
/** @type {string} */
Batch;
/** @type {number} */
ContainerID;
/** @type {string} */
ContainerName;
/** @type {number} */
ContainerSizeXCm;
/** @type {number} */
ContainerSizeYCm;
/** @type {number} */
ContainerSizeZCm;
/** @type {number} */
ContainerWeight;
/** @type {number} */
StockroomID;
/** @type {string} */
StockroomName;
/** @type {string} */
Operator;
/** @type {string} */
VersionSelected;
}
export class Container {
/** @param {{ContainerID?:number,ContainerCode?:string,Location?:string,DimensionX?:Object,DimensionY?:Object,DimensionZ?:Object,Deleted?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
ContainerID;
/** @type {string} */
ContainerCode;
/** @type {string} */
Location;
/** @type {Object} */
DimensionX;
/** @type {Object} */
DimensionY;
/** @type {Object} */
DimensionZ;
/** @type {boolean} */
Deleted;
}
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;
}
export class MissionDetailComment {
/** @param {{ID?:number,MissionDetailID?:number,Comment?:string,Timestamp?:string,Operator?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
ID;
/** @type {number} */
MissionDetailID;
/** @type {string} */
Comment;
/** @type {?string} */
Timestamp;
/** @type {string} */
Operator;
}
export class MissionDetail {
/** @param {{ID?:number,MissionID?:number,Label?:string,Reference?:string,Quantity?:number,PreparedQuantity?:number,PackedQuantity?:number,Positions?:Position[],Tray?:string,StockLocation?:string,LineNumber?:number,Info?:string,GTIN?:string,SupplierReference?:string,PickingIndex?:number,TraceabilityDetails?:TraceabilityMissionDetail[],TraceabilityDetailsPacking?:TraceabilityMissionDetailPacking[],Substitutable?:boolean,SubstitutionRef?:string,TraceabilityBatch?:string,Data1?:string,Data2?:string,Data3?:string,Data4?:string,Data5?:string,Data6?:string,Data7?:string,Data8?:string,Data9?:string,Data10?:string,Data11?:string,Data12?:string,PackageReference?:string,NbSKUInPackage?:number,PackageReference2?:string,NbSKUInPackage2?:number,ContainerID?:number,Container?:Container,WeightPerItemInKg?:number,VolumePerItemInM3?:number,PictureURL?:string,Stock?:Stock,QuantityUnit?:string,Comments?:MissionDetailComment,ShortageQuantity?:number,ItemPreparationDate?:string,CreationDateTime?:string,QuantityDispatched?:number,Versions?:string[],QuantityBreakage?:number,IsProductCritical?:boolean,Owner?:string,StockroomID?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
ID;
/** @type {number} */
MissionID;
/** @type {string} */
Label;
/** @type {string} */
Reference;
/** @type {?number} */
Quantity;
/** @type {?number} */
PreparedQuantity;
/** @type {number} */
PackedQuantity;
/** @type {Position[]} */
Positions = [];
/** @type {string} */
Tray;
/** @type {string} */
StockLocation;
/** @type {?number} */
LineNumber;
/** @type {string} */
Info;
/** @type {string} */
GTIN;
/** @type {string} */
SupplierReference;
/** @type {number} */
PickingIndex;
/** @type {TraceabilityMissionDetail[]} */
TraceabilityDetails = [];
/** @type {TraceabilityMissionDetailPacking[]} */
TraceabilityDetailsPacking = [];
/** @type {?boolean} */
Substitutable;
/** @type {string} */
SubstitutionRef;
/** @type {string} */
TraceabilityBatch;
/** @type {string} */
Data1;
/** @type {string} */
Data2;
/** @type {string} */
Data3;
/** @type {string} */
Data4;
/** @type {string} */
Data5;
/** @type {string} */
Data6;
/** @type {string} */
Data7;
/** @type {string} */
Data8;
/** @type {string} */
Data9;
/** @type {string} */
Data10;
/** @type {string} */
Data11;
/** @type {string} */
Data12;
/** @type {string} */
PackageReference;
/** @type {?number} */
NbSKUInPackage;
/** @type {string} */
PackageReference2;
/** @type {?number} */
NbSKUInPackage2;
/** @type {?number} */
ContainerID;
/** @type {Container} */
Container;
/** @type {?number} */
WeightPerItemInKg;
/** @type {?number} */
VolumePerItemInM3;
/** @type {string} */
PictureURL;
/** @type {Stock} */
Stock;
/** @type {string} */
QuantityUnit;
/** @type {MissionDetailComment} */
Comments;
/** @type {?number} */
ShortageQuantity;
/** @type {?string} */
ItemPreparationDate;
/** @type {?string} */
CreationDateTime;
/** @type {?number} */
QuantityDispatched;
/** @type {string[]} */
Versions = [];
/** @type {number} */
QuantityBreakage;
/** @type {?boolean} */
IsProductCritical;
/** @type {string} */
Owner;
/** @type {number} */
StockroomID;
}
export class MissionUpdatePackingMissionDetail {
/** @param {{MissionDetail?:MissionDetail,PackedQuantity?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {MissionDetail}
* @description Mission Detail */
MissionDetail;
/**
* @type {number}
* @description Quantity the operator packed */
PackedQuantity;
}
JavaScript MissionUpdatePackingMissionDetail DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /MissionUpdatePackingMissionDetail HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"MissionDetail":{"ID":0,"MissionID":0,"Label":"String","Reference":"String","Quantity":0,"PreparedQuantity":0,"PackedQuantity":0,"Positions":[{"ID":0,"Key":"String","Pixel":0,"Width":0,"AreaID":0,"AreaLabel":"String","Label":"String","StockroomID":0}],"Tray":"String","StockLocation":"String","LineNumber":0,"Info":"String","GTIN":"String","SupplierReference":"String","PickingIndex":0,"TraceabilityDetails":[{"IDMissionDetail":0,"PreparedQuantity":0,"Batch":"String","ContainerID":0,"ContainerName":"String","ContainerSizeXCm":0,"ContainerSizeYCm":0,"ContainerSizeZCm":0,"ContainerWeight":0,"StockroomID":0,"StockroomName":"String","Operator":"String","VersionSelected":"String"}],"TraceabilityDetailsPacking":[{"IDMissionDetail":0,"PreparedQuantity":0,"Batch":"String","ContainerID":0,"ContainerName":"String","ContainerSizeXCm":0,"ContainerSizeYCm":0,"ContainerSizeZCm":0,"ContainerWeight":0,"StockroomID":0,"StockroomName":"String","Operator":"String","VersionSelected":"String"}],"Substitutable":false,"SubstitutionRef":"String","TraceabilityBatch":"String","Data1":"String","Data2":"String","Data3":"String","Data4":"String","Data5":"String","Data6":"String","Data7":"String","Data8":"String","Data9":"String","Data10":"String","Data11":"String","Data12":"String","PackageReference":"String","NbSKUInPackage":0,"PackageReference2":"String","NbSKUInPackage2":0,"ContainerID":0,"Container":{"ContainerID":0,"ContainerCode":"String","Location":"String","DimensionX":{},"DimensionY":{},"DimensionZ":{},"Deleted":false},"WeightPerItemInKg":0,"VolumePerItemInM3":0,"PictureURL":"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"},"QuantityUnit":"String","Comments":{"ID":0,"MissionDetailID":0,"Comment":"String","Timestamp":"\/Date(-62135596800000-0000)\/","Operator":"String"},"ShortageQuantity":0,"ItemPreparationDate":"\/Date(-62135596800000-0000)\/","CreationDateTime":"\/Date(-62135596800000-0000)\/","QuantityDispatched":0,"Versions":["String"],"QuantityBreakage":0,"IsProductCritical":false,"Owner":"String","StockroomID":0},"PackedQuantity":0}