| All Verbs | /RamasseMissionsStart |
|---|
import 'package:servicestack/servicestack.dart';
class RamasseMissionsStart implements IConvertible
{
/**
* Mission name list
*/
// @ApiMember(Description="Mission name list", IsRequired=true)
List<String>? MissionNames = [];
/**
* User id
*/
// @ApiMember(Description="User id", IsRequired=true)
String? UserId;
/**
* Optional: name of the stockroom where are located the position
*/
// @ApiMember(Description="Optional: name of the stockroom where are located the position")
String? StockroomName;
RamasseMissionsStart({this.MissionNames,this.UserId,this.StockroomName});
RamasseMissionsStart.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
MissionNames = JsonConverters.fromJson(json['MissionNames'],'List<String>',context!);
UserId = json['UserId'];
StockroomName = json['StockroomName'];
return this;
}
Map<String, dynamic> toJson() => {
'MissionNames': JsonConverters.toJson(MissionNames,'List<String>',context!),
'UserId': UserId,
'StockroomName': StockroomName
};
getTypeName() => "RamasseMissionsStart";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: <String, TypeInfo> {
'RamasseMissionsStart': TypeInfo(TypeOf.Class, create:() => RamasseMissionsStart()),
});
Dart RamasseMissionsStart 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 /RamasseMissionsStart HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"MissionNames":["String"],"UserId":"String","StockroomName":"String"}