| All Verbs | /MissionAddDetail/{MissionName}/{Reference}/{Label}/{Quantity} |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports GoToLightAPI
Namespace Global
Namespace GoToLightAPI
Public Partial Class MissionAddDetail
'''<Summary>
'''Mission name
'''</Summary>
<ApiMember(Description:="Mission name", IsRequired:=true)>
Public Overridable Property MissionName As String
'''<Summary>
'''Detail reference
'''</Summary>
<ApiMember(Description:="Detail reference", IsRequired:=true)>
Public Overridable Property Reference As String
'''<Summary>
'''Detail label
'''</Summary>
<ApiMember(Description:="Detail label", IsRequired:=true)>
Public Overridable Property Label As String
'''<Summary>
'''Quantity
'''</Summary>
<ApiMember(Description:="Quantity", IsRequired:=true)>
Public Overridable Property Quantity As Double
'''<Summary>
'''QuantityPrepared
'''</Summary>
<ApiMember(Description:="QuantityPrepared")>
Public Overridable Property QuantityPrepared As Double
'''<Summary>
'''Mission info
'''</Summary>
<ApiMember(Description:="Mission info")>
Public Overridable Property MissionInfo As String
'''<Summary>
'''Tray key
'''</Summary>
<ApiMember(Description:="Tray key")>
Public Overridable Property Tray As String
'''<Summary>
'''Stock Location
'''</Summary>
<ApiMember(Description:="Stock Location")>
Public Overridable Property StockLocation As String
'''<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.")>
Public Overridable Property LineNumber As Integer
'''<Summary>
'''Info about article (Max 100 chars)
'''</Summary>
<ApiMember(Description:="Info about article (Max 100 chars)")>
Public Overridable Property Info As String
'''<Summary>
'''Position of article (Max 50 chars)
'''</Summary>
<ApiMember(Description:="Position of article (Max 50 chars)")>
Public Overridable Property GTIN As String
'''<Summary>
'''Product reference used by supplier
'''</Summary>
<ApiMember(Description:="Product reference used by supplier")>
Public Overridable Property SupplierReference As String
'''<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")>
Public Overridable Property PickingIndex As Integer
'''<Summary>
'''Defines if an article is substitutable
'''</Summary>
<ApiMember(Description:="Defines if an article is substitutable")>
Public Overridable Property Substitutable As Boolean?
'''<Summary>
'''Defines the new Reference of substituted article
'''</Summary>
<ApiMember(Description:="Defines the new Reference of substituted article")>
Public Overridable Property SubstitutionRef As String
'''<Summary>
'''Unique reference of a containing package
'''</Summary>
<ApiMember(Description:="Unique reference of a containing package")>
Public Overridable Property PackageReference As String
'''<Summary>
'''Number of articles contained in the package
'''</Summary>
<ApiMember(Description:="Number of articles contained in the package")>
Public Overridable Property NbSKUInPackage As Integer?
'''<Summary>
'''Unique reference of a containing package (additional)
'''</Summary>
<ApiMember(Description:="Unique reference of a containing package (additional)")>
Public Overridable Property PackageReference2 As String
'''<Summary>
'''Number of articles contained in the package (additional)
'''</Summary>
<ApiMember(Description:="Number of articles contained in the package (additional)")>
Public Overridable Property NbSKUInPackage2 As Integer?
'''<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.")>
Public Overridable Property ResolveStockLocation As Boolean?
'''<Summary>
'''Weight per Item in Kg
'''</Summary>
<ApiMember(Description:="Weight per Item in Kg")>
Public Overridable Property WeightPerItemInKg As Single?
'''<Summary>
'''Volume per Item in m3
'''</Summary>
<ApiMember(Description:="Volume per Item in m3")>
Public Overridable Property VolumePerItemInM3 As Single?
'''<Summary>
'''URL of picture
'''</Summary>
<ApiMember(Description:="URL of picture")>
Public Overridable Property PictureURL As String
'''<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")>
Public Overridable Property QuantityUnit As String
'''<Summary>
'''Product versions
'''</Summary>
<ApiMember(Description:="Product versions")>
Public Overridable Property Versions As List(Of String) = New List(Of String)
'''<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")>
Public Overridable Property IsProductCritical As Boolean?
'''<Summary>
'''Mission type
'''</Summary>
<ApiMember(Description:="Mission type")>
Public Overridable Property MissionType As String
End Class
End Namespace
End Namespace
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
}