| All Verbs | /MissionUpdate/{Name} |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class MissionUpdate
{
/**
* Mission name
*/
@ApiMember(Description="Mission name", IsRequired=true)
public String Name = null;
/**
* Mission info
*/
@ApiMember(Description="Mission info")
public String Info = null;
/**
* Delete automatically when completed
*/
@ApiMember(Description="Delete automatically when completed")
public Boolean DeleteWhenCompleted = null;
/**
* Mission owner
*/
@ApiMember(Description="Mission owner")
public String Owner = null;
/**
* Mission finder key
*/
@ApiMember(Description="Mission finder key")
public String FinderKey = 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")
public String Type = null;
/**
* Mission trolley
*/
@ApiMember(Description="Mission trolley")
public String Trolley = null;
/**
* Reference of the target printer
*/
@ApiMember(Description="Reference of the target printer")
public String Printer = null;
/**
* Defines if the mission has been cancelled
*/
@ApiMember(Description="Defines if the mission has been cancelled")
public Boolean Cancelled = null;
/**
* Defines if the mission has been blocked
*/
@ApiMember(Description="Defines if the mission has been blocked")
public Boolean Blocked = null;
/**
* Carrier
*/
@ApiMember(Description="Carrier")
public String Carrier = null;
/**
* BatchId
*/
@ApiMember(Description="BatchId")
public String BatchId = null;
public String getName() { return Name; }
public MissionUpdate setName(String value) { this.Name = value; return this; }
public String getInfo() { return Info; }
public MissionUpdate setInfo(String value) { this.Info = value; return this; }
public Boolean isDeleteWhenCompleted() { return DeleteWhenCompleted; }
public MissionUpdate setDeleteWhenCompleted(Boolean value) { this.DeleteWhenCompleted = value; return this; }
public String getOwner() { return Owner; }
public MissionUpdate setOwner(String value) { this.Owner = value; return this; }
public String getFinderKey() { return FinderKey; }
public MissionUpdate setFinderKey(String value) { this.FinderKey = value; return this; }
public String getType() { return Type; }
public MissionUpdate setType(String value) { this.Type = value; return this; }
public String getTrolley() { return Trolley; }
public MissionUpdate setTrolley(String value) { this.Trolley = value; return this; }
public String getPrinter() { return Printer; }
public MissionUpdate setPrinter(String value) { this.Printer = value; return this; }
public Boolean isCancelled() { return Cancelled; }
public MissionUpdate setCancelled(Boolean value) { this.Cancelled = value; return this; }
public Boolean isBlocked() { return Blocked; }
public MissionUpdate setBlocked(Boolean value) { this.Blocked = value; return this; }
public String getCarrier() { return Carrier; }
public MissionUpdate setCarrier(String value) { this.Carrier = value; return this; }
public String getBatchId() { return BatchId; }
public MissionUpdate setBatchId(String value) { this.BatchId = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
Content-Type: text/jsonl
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"}