Go-to-Light Service 4.0.0.2397 - 121 - API License to Cloud Demo

<back to all web services

RamasseMissionsStart

Requires Authentication
The following routes are available for this service:
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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
Content-Length: length

{
	MissionNames: 
	[
		String
	],
	UserId: String,
	StockroomName: String
}