| All Verbs | /MissionEnd |
|---|
export class MissionEnd
{
/** @description Mission name */
// @ApiMember(Description="Mission name", IsRequired=true)
public Name: string;
/** @description Cancelled */
// @ApiMember(Description="Cancelled")
public Cancelled: boolean;
/** @description Auto restart mission */
// @ApiMember(Description="Auto restart mission")
public Restart: boolean;
public constructor(init?: Partial<MissionEnd>) { (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 /MissionEnd HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Name: String,
Cancelled: False,
Restart: False
}