| All Verbs | /MissionStart/{Name}/{Owner} |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class MissionStart
{
/**
* Mission name
*/
@ApiMember(Description="Mission name", IsRequired=true)
public String Name = null;
/**
* Mission owner
*/
@ApiMember(Description="Mission owner", IsRequired=true)
public String Owner = null;
/**
* Optional: name of the stockroom where are located the position
*/
@ApiMember(Description="Optional: name of the stockroom where are located the position")
public String StockroomName = null;
/**
* Reference of the target printer
*/
@ApiMember(Description="Reference of the target printer")
public String Printer = null;
public String getName() { return Name; }
public MissionStart setName(String value) { this.Name = value; return this; }
public String getOwner() { return Owner; }
public MissionStart setOwner(String value) { this.Owner = value; return this; }
public String getStockroomName() { return StockroomName; }
public MissionStart setStockroomName(String value) { this.StockroomName = value; return this; }
public String getPrinter() { return Printer; }
public MissionStart setPrinter(String value) { this.Printer = 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 /MissionStart/{Name}/{Owner} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Name: String,
Owner: String,
StockroomName: String,
Printer: String
}