| All Verbs | /MissionUpdate/{Name} |
|---|
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 MissionUpdate
'''<Summary>
'''Mission name
'''</Summary>
<ApiMember(Description:="Mission name", IsRequired:=true)>
Public Overridable Property Name As String
'''<Summary>
'''Mission info
'''</Summary>
<ApiMember(Description:="Mission info")>
Public Overridable Property Info As String
'''<Summary>
'''Delete automatically when completed
'''</Summary>
<ApiMember(Description:="Delete automatically when completed")>
Public Overridable Property DeleteWhenCompleted As Boolean?
'''<Summary>
'''Mission owner
'''</Summary>
<ApiMember(Description:="Mission owner")>
Public Overridable Property Owner As String
'''<Summary>
'''Mission finder key
'''</Summary>
<ApiMember(Description:="Mission finder key")>
Public Overridable Property FinderKey As String
'''<Summary>
'''Defines the mission type. Value can be: E = Entrée/Réapro/Restock, S = Sortie/Picking/Prépa commande or, I = Inventaire/Inventory
'''</Summary>
<ApiMember(Description:="Defines the mission type. Value can be: E = Entrée/Réapro/Restock, S = Sortie/Picking/Prépa commande or, I = Inventaire/Inventory")>
Public Overridable Property Type As String
'''<Summary>
'''Mission trolley
'''</Summary>
<ApiMember(Description:="Mission trolley")>
Public Overridable Property Trolley As String
'''<Summary>
'''Reference of the target printer
'''</Summary>
<ApiMember(Description:="Reference of the target printer")>
Public Overridable Property Printer As String
'''<Summary>
'''Defines if the mission has been cancelled
'''</Summary>
<ApiMember(Description:="Defines if the mission has been cancelled")>
Public Overridable Property Cancelled As Boolean?
'''<Summary>
'''Defines if the mission has been blocked
'''</Summary>
<ApiMember(Description:="Defines if the mission has been blocked")>
Public Overridable Property Blocked As Boolean?
'''<Summary>
'''Carrier
'''</Summary>
<ApiMember(Description:="Carrier")>
Public Overridable Property Carrier As String
'''<Summary>
'''BatchId
'''</Summary>
<ApiMember(Description:="BatchId")>
Public Overridable Property BatchId 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 /MissionUpdate/{Name} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Name: String,
Info: String,
DeleteWhenCompleted: False,
Owner: String,
FinderKey: String,
Type: String,
Trolley: String,
Printer: String,
Cancelled: False,
Blocked: False,
Carrier: String,
BatchId: String
}