| 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
Content-Length: length
{"MissionID":0,"PrinterName":"String","PrintPackingListInAddition":false}