| All Verbs | /MissionStartKit/{Name}/{Owner}/{NbKit} |
|---|
export class MissionStartKit
{
/** @description Mission name */
// @ApiMember(Description="Mission name", IsRequired=true)
public Name: string;
/** @description Mission owner */
// @ApiMember(Description="Mission owner", IsRequired=true)
public Owner: string;
/** @description Optional: name of the stockroom where are located the position */
// @ApiMember(Description="Optional: name of the stockroom where are located the position")
public StockroomName: string;
/** @description Reference of the target printer */
// @ApiMember(Description="Reference of the target printer")
public Printer: string;
/** @description Number of kit for this reference */
// @ApiMember(Description="Number of kit for this reference", IsRequired=true)
public NbKit: number;
public constructor(init?: Partial<MissionStartKit>) { (Object as any).assign(this, init); }
}
TypeScript MissionStartKit DTOs
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 /MissionStartKit/{Name}/{Owner}/{NbKit} 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,
NbKit: 0
}