| All Verbs | /PrintTransport |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class PrintTransport
{
/**
* MissionID to print
*/
@ApiMember(Description="MissionID to print", IsRequired=true)
public Integer MissionID = null;
/**
* Destination printer
*/
@ApiMember(Description="Destination printer")
public String PrinterName = null;
/**
* If set to true, a pakcing list will be printed in addition of transport
*/
@ApiMember(Description="If set to true, a pakcing list will be printed in addition of transport")
public Boolean PrintPackingListInAddition = null;
public Integer getMissionID() { return MissionID; }
public PrintTransport setMissionID(Integer value) { this.MissionID = value; return this; }
public String getPrinterName() { return PrinterName; }
public PrintTransport setPrinterName(String value) { this.PrinterName = value; return this; }
public Boolean isPrintPackingListInAddition() { return PrintPackingListInAddition; }
public PrintTransport setPrintPackingListInAddition(Boolean value) { this.PrintPackingListInAddition = value; return this; }
}
}
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 /PrintTransport HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
MissionID: 0,
PrinterName: String,
PrintPackingListInAddition: False
}