| All Verbs | /MissionStartKit/{Name}/{Owner}/{NbKit} |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class MissionStartKit
{
/**
* 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;
/**
* Number of kit for this reference
*/
@ApiMember(Description="Number of kit for this reference", IsRequired=true)
public Integer NbKit = null;
public String getName() { return Name; }
public MissionStartKit setName(String value) { this.Name = value; return this; }
public String getOwner() { return Owner; }
public MissionStartKit setOwner(String value) { this.Owner = value; return this; }
public String getStockroomName() { return StockroomName; }
public MissionStartKit setStockroomName(String value) { this.StockroomName = value; return this; }
public String getPrinter() { return Printer; }
public MissionStartKit setPrinter(String value) { this.Printer = value; return this; }
public Integer getNbKit() { return NbKit; }
public MissionStartKit setNbKit(Integer value) { this.NbKit = 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 /MissionStartKit/{Name}/{Owner}/{NbKit} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Name":"String","Owner":"String","StockroomName":"String","Printer":"String","NbKit":0}