| All Verbs | /MissionCreate/{Name} |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class MissionCreate
{
/**
* 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 MissionCreate setName(String value) { this.Name = value; return this; }
public String getInfo() { return Info; }
public MissionCreate setInfo(String value) { this.Info = value; return this; }
public Boolean isDeleteWhenCompleted() { return DeleteWhenCompleted; }
public MissionCreate setDeleteWhenCompleted(Boolean value) { this.DeleteWhenCompleted = value; return this; }
public String getOwner() { return Owner; }
public MissionCreate setOwner(String value) { this.Owner = value; return this; }
public String getFinderKey() { return FinderKey; }
public MissionCreate setFinderKey(String value) { this.FinderKey = value; return this; }
public String getType() { return Type; }
public MissionCreate setType(String value) { this.Type = value; return this; }
public String getTrolley() { return Trolley; }
public MissionCreate setTrolley(String value) { this.Trolley = value; return this; }
public String getPrinter() { return Printer; }
public MissionCreate setPrinter(String value) { this.Printer = value; return this; }
public Boolean isCancelled() { return Cancelled; }
public MissionCreate setCancelled(Boolean value) { this.Cancelled = value; return this; }
public Boolean isBlocked() { return Blocked; }
public MissionCreate setBlocked(Boolean value) { this.Blocked = value; return this; }
public String getCarrier() { return Carrier; }
public MissionCreate setCarrier(String value) { this.Carrier = value; return this; }
public String getBatchId() { return BatchId; }
public MissionCreate setBatchId(String value) { this.BatchId = value; return this; }
}
}
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 /MissionCreate/{Name} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<MissionCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoToLightAPI">
<BatchId>String</BatchId>
<Blocked>false</Blocked>
<Cancelled>false</Cancelled>
<Carrier>String</Carrier>
<DeleteWhenCompleted>false</DeleteWhenCompleted>
<FinderKey>String</FinderKey>
<Info>String</Info>
<Name>String</Name>
<Owner>String</Owner>
<Printer>String</Printer>
<Trolley>String</Trolley>
<Type>String</Type>
</MissionCreate>