| All Verbs | /MissionAddDetail/{MissionName}/{Reference}/{Label}/{Quantity} |
|---|
import Foundation
import ServiceStack
public class MissionAddDetail : Codable
{
/**
* Mission name
*/
// @ApiMember(Description="Mission name", IsRequired=true)
public var missionName:String
/**
* Detail reference
*/
// @ApiMember(Description="Detail reference", IsRequired=true)
public var reference:String
/**
* Detail label
*/
// @ApiMember(Description="Detail label", IsRequired=true)
public var label:String
/**
* Quantity
*/
// @ApiMember(Description="Quantity", IsRequired=true)
public var quantity:Double
/**
* QuantityPrepared
*/
// @ApiMember(Description="QuantityPrepared")
public var quantityPrepared:Double
/**
* Mission info
*/
// @ApiMember(Description="Mission info")
public var missionInfo:String
/**
* Tray key
*/
// @ApiMember(Description="Tray key")
public var tray:String
/**
* Stock Location
*/
// @ApiMember(Description="Stock Location")
public var stockLocation:String
/**
* To be used to identify with certitude a specific line in the mission result repport.
*/
// @ApiMember(Description="To be used to identify with certitude a specific line in the mission result repport.")
public var lineNumber:Int
/**
* Info about article (Max 100 chars)
*/
// @ApiMember(Description="Info about article (Max 100 chars)")
public var info:String
/**
* Position of article (Max 50 chars)
*/
// @ApiMember(Description="Position of article (Max 50 chars)")
public var gtin:String
/**
* Product reference used by supplier
*/
// @ApiMember(Description="Product reference used by supplier")
public var supplierReference:String
/**
* Can be used to optimize picking. The mission will be sorted using this value
*/
// @ApiMember(Description="Can be used to optimize picking. The mission will be sorted using this value")
public var pickingIndex:Int
/**
* Defines if an article is substitutable
*/
// @ApiMember(Description="Defines if an article is substitutable")
public var substitutable:Bool?
/**
* Defines the new Reference of substituted article
*/
// @ApiMember(Description="Defines the new Reference of substituted article")
public var substitutionRef:String
/**
* Unique reference of a containing package
*/
// @ApiMember(Description="Unique reference of a containing package")
public var packageReference:String
/**
* Number of articles contained in the package
*/
// @ApiMember(Description="Number of articles contained in the package")
public var nbSKUInPackage:Int?
/**
* Unique reference of a containing package (additional)
*/
// @ApiMember(Description="Unique reference of a containing package (additional)")
public var packageReference2:String
/**
* Number of articles contained in the package (additional)
*/
// @ApiMember(Description="Number of articles contained in the package (additional)")
public var nbSKUInPackage2:Int?
/**
* Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB.
*/
// @ApiMember(Description="Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB.")
public var resolveStockLocation:Bool?
/**
* Weight per Item in Kg
*/
// @ApiMember(Description="Weight per Item in Kg")
public var weightPerItemInKg:Float?
/**
* Volume per Item in m3
*/
// @ApiMember(Description="Volume per Item in m3")
public var volumePerItemInM3:Float?
/**
* URL of picture
*/
// @ApiMember(Description="URL of picture")
public var pictureURL:String
/**
* Mesure of the item if it is by weight or by piece
*/
// @ApiMember(Description="Mesure of the item if it is by weight or by piece")
public var quantityUnit:String
/**
* Product versions
*/
// @ApiMember(Description="Product versions")
public var versions:[String] = []
/**
* Use to know if product need force scan EAN or not
*/
// @ApiMember(Description="Use to know if product need force scan EAN or not")
public var isProductCritical:Bool?
/**
* Mission type
*/
// @ApiMember(Description="Mission type")
public var missionType:String
required public init(){}
}
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>