| All Verbs | /MissionUpdate/{Name} |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class MissionUpdate
{
/**
* Mission name
*/
@ApiMember(Description="Mission name", IsRequired=true)
open var Name:String? = null
/**
* Mission info
*/
@ApiMember(Description="Mission info")
open var Info:String? = null
/**
* Delete automatically when completed
*/
@ApiMember(Description="Delete automatically when completed")
open var DeleteWhenCompleted:Boolean? = null
/**
* Mission owner
*/
@ApiMember(Description="Mission owner")
open var Owner:String? = null
/**
* Mission finder key
*/
@ApiMember(Description="Mission finder key")
open var FinderKey:String? = null
/**
* Defines the mission type. Value can be: E = Entrée/Réapro/Restock, S = Sortie/Picking/Prépa commande or, I = Inventaire/Inventory
*/
@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")
open var Type:String? = null
/**
* Mission trolley
*/
@ApiMember(Description="Mission trolley")
open var Trolley:String? = null
/**
* Reference of the target printer
*/
@ApiMember(Description="Reference of the target printer")
open var Printer:String? = null
/**
* Defines if the mission has been cancelled
*/
@ApiMember(Description="Defines if the mission has been cancelled")
open var Cancelled:Boolean? = null
/**
* Defines if the mission has been blocked
*/
@ApiMember(Description="Defines if the mission has been blocked")
open var Blocked:Boolean? = null
/**
* Carrier
*/
@ApiMember(Description="Carrier")
open var Carrier:String? = null
/**
* BatchId
*/
@ApiMember(Description="BatchId")
open var BatchId:String? = null
}
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 /MissionUpdate/{Name} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/csv
Content-Type: text/csv
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"}