| All Verbs | /GettingAndStartMissionsByFilter/{Filter}/{Owner} |
|---|
import 'package:servicestack/servicestack.dart';
class GettingAndStartMissionsByFilter implements IConvertible
{
/**
* Filter of the type of missions wanted
*/
// @ApiMember(Description="Filter of the type of missions wanted", IsRequired=true)
String? Filter;
/**
* Mission owner
*/
// @ApiMember(Description="Mission owner", IsRequired=true)
String? Owner;
/**
* Optional: name of the stockroom where are located the position
*/
// @ApiMember(Description="Optional: name of the stockroom where are located the position")
String? StockroomName;
/**
* Reference of the target printer
*/
// @ApiMember(Description="Reference of the target printer")
String? Printer;
GettingAndStartMissionsByFilter({this.Filter,this.Owner,this.StockroomName,this.Printer});
GettingAndStartMissionsByFilter.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Filter = json['Filter'];
Owner = json['Owner'];
StockroomName = json['StockroomName'];
Printer = json['Printer'];
return this;
}
Map<String, dynamic> toJson() => {
'Filter': Filter,
'Owner': Owner,
'StockroomName': StockroomName,
'Printer': Printer
};
getTypeName() => "GettingAndStartMissionsByFilter";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: <String, TypeInfo> {
'GettingAndStartMissionsByFilter': TypeInfo(TypeOf.Class, create:() => GettingAndStartMissionsByFilter()),
});
Dart GettingAndStartMissionsByFilter DTOs
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 /GettingAndStartMissionsByFilter/{Filter}/{Owner} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Filter":"String","Owner":"String","StockroomName":"String","Printer":"String"}