| All Verbs | /MissionAddDetail/{MissionName}/{Reference}/{Label}/{Quantity} |
|---|
namespace GoToLightAPI
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type MissionAddDetail() =
///<summary>
///Mission name
///</summary>
[<ApiMember(Description="Mission name", IsRequired=true)>]
member val MissionName:String = null with get,set
///<summary>
///Detail reference
///</summary>
[<ApiMember(Description="Detail reference", IsRequired=true)>]
member val Reference:String = null with get,set
///<summary>
///Detail label
///</summary>
[<ApiMember(Description="Detail label", IsRequired=true)>]
member val Label:String = null with get,set
///<summary>
///Quantity
///</summary>
[<ApiMember(Description="Quantity", IsRequired=true)>]
member val Quantity:Double = new Double() with get,set
///<summary>
///QuantityPrepared
///</summary>
[<ApiMember(Description="QuantityPrepared")>]
member val QuantityPrepared:Double = new Double() with get,set
///<summary>
///Mission info
///</summary>
[<ApiMember(Description="Mission info")>]
member val MissionInfo:String = null with get,set
///<summary>
///Tray key
///</summary>
[<ApiMember(Description="Tray key")>]
member val Tray:String = null with get,set
///<summary>
///Stock Location
///</summary>
[<ApiMember(Description="Stock Location")>]
member val StockLocation:String = null with get,set
///<summary>
///To be used to identify with certitude a specific line in the mission result repport.
///</summary>
[<ApiMember(Description="To be used to identify with certitude a specific line in the mission result repport.")>]
member val LineNumber:Int32 = new Int32() with get,set
///<summary>
///Info about article (Max 100 chars)
///</summary>
[<ApiMember(Description="Info about article (Max 100 chars)")>]
member val Info:String = null with get,set
///<summary>
///Position of article (Max 50 chars)
///</summary>
[<ApiMember(Description="Position of article (Max 50 chars)")>]
member val GTIN:String = null with get,set
///<summary>
///Product reference used by supplier
///</summary>
[<ApiMember(Description="Product reference used by supplier")>]
member val SupplierReference:String = null with get,set
///<summary>
///Can be used to optimize picking. The mission will be sorted using this value
///</summary>
[<ApiMember(Description="Can be used to optimize picking. The mission will be sorted using this value")>]
member val PickingIndex:Int32 = new Int32() with get,set
///<summary>
///Defines if an article is substitutable
///</summary>
[<ApiMember(Description="Defines if an article is substitutable")>]
member val Substitutable:Nullable<Boolean> = new Nullable<Boolean>() with get,set
///<summary>
///Defines the new Reference of substituted article
///</summary>
[<ApiMember(Description="Defines the new Reference of substituted article")>]
member val SubstitutionRef:String = null with get,set
///<summary>
///Unique reference of a containing package
///</summary>
[<ApiMember(Description="Unique reference of a containing package")>]
member val PackageReference:String = null with get,set
///<summary>
///Number of articles contained in the package
///</summary>
[<ApiMember(Description="Number of articles contained in the package")>]
member val NbSKUInPackage:Nullable<Int32> = new Nullable<Int32>() with get,set
///<summary>
///Unique reference of a containing package (additional)
///</summary>
[<ApiMember(Description="Unique reference of a containing package (additional)")>]
member val PackageReference2:String = null with get,set
///<summary>
///Number of articles contained in the package (additional)
///</summary>
[<ApiMember(Description="Number of articles contained in the package (additional)")>]
member val NbSKUInPackage2:Nullable<Int32> = new Nullable<Int32>() with get,set
///<summary>
///Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB.
///</summary>
[<ApiMember(Description="Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB.")>]
member val ResolveStockLocation:Nullable<Boolean> = new Nullable<Boolean>() with get,set
///<summary>
///Weight per Item in Kg
///</summary>
[<ApiMember(Description="Weight per Item in Kg")>]
member val WeightPerItemInKg:Nullable<Single> = new Nullable<Single>() with get,set
///<summary>
///Volume per Item in m3
///</summary>
[<ApiMember(Description="Volume per Item in m3")>]
member val VolumePerItemInM3:Nullable<Single> = new Nullable<Single>() with get,set
///<summary>
///URL of picture
///</summary>
[<ApiMember(Description="URL of picture")>]
member val PictureURL:String = null with get,set
///<summary>
///Mesure of the item if it is by weight or by piece
///</summary>
[<ApiMember(Description="Mesure of the item if it is by weight or by piece")>]
member val QuantityUnit:String = null with get,set
///<summary>
///Product versions
///</summary>
[<ApiMember(Description="Product versions")>]
member val Versions:ResizeArray<String> = null with get,set
///<summary>
///Use to know if product need force scan EAN or not
///</summary>
[<ApiMember(Description="Use to know if product need force scan EAN or not")>]
member val IsProductCritical:Nullable<Boolean> = new Nullable<Boolean>() with get,set
///<summary>
///Mission type
///</summary>
[<ApiMember(Description="Mission type")>]
member val MissionType:String = null with get,set
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>