| All Verbs | /MissionCreate/{Name} |
|---|
export class MissionCreate
{
/** @description Mission name */
// @ApiMember(Description="Mission name", IsRequired=true)
public Name: string;
/** @description Mission info */
// @ApiMember(Description="Mission info")
public Info: string;
/** @description Delete automatically when completed */
// @ApiMember(Description="Delete automatically when completed")
public DeleteWhenCompleted?: boolean;
/** @description Mission owner */
// @ApiMember(Description="Mission owner")
public Owner: string;
/** @description Mission finder key */
// @ApiMember(Description="Mission finder key")
public FinderKey: string;
/** @description Defines the mission type. Value can be: E = Entrée/Réapro/Restock, S = Sortie/Picking/Prépa commande or, I = Inventaire/Inventory */
// @ApiMember(Description="Defines the mission type. Value can be: E = Entrée/Réapro/Restock, S = Sortie/Picking/Prépa commande or, I = Inventaire/Inventory")
public Type: string;
/** @description Mission trolley */
// @ApiMember(Description="Mission trolley")
public Trolley: string;
/** @description Reference of the target printer */
// @ApiMember(Description="Reference of the target printer")
public Printer: string;
/** @description Defines if the mission has been cancelled */
// @ApiMember(Description="Defines if the mission has been cancelled")
public Cancelled?: boolean;
/** @description Defines if the mission has been blocked */
// @ApiMember(Description="Defines if the mission has been blocked")
public Blocked?: boolean;
/** @description Carrier */
// @ApiMember(Description="Carrier")
public Carrier: string;
/** @description BatchId */
// @ApiMember(Description="BatchId")
public BatchId: string;
public constructor(init?: Partial<MissionCreate>) { (Object as any).assign(this, init); }
}
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 /MissionCreate/{Name} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Name: String,
Info: String,
DeleteWhenCompleted: False,
Owner: String,
FinderKey: String,
Type: String,
Trolley: String,
Printer: String,
Cancelled: False,
Blocked: False,
Carrier: String,
BatchId: String
}