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

<back to all web services

MissionCreate

Requires Authentication
The following routes are available for this service:
All Verbs/MissionCreate/{Name}
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using GoToLightAPI;

namespace GoToLightAPI
{
    public partial class MissionCreate
    {
        ///<summary>
        ///Mission name
        ///</summary>
        [ApiMember(Description="Mission name", IsRequired=true)]
        public virtual string Name { get; set; }

        ///<summary>
        ///Mission info
        ///</summary>
        [ApiMember(Description="Mission info")]
        public virtual string Info { get; set; }

        ///<summary>
        ///Delete automatically when completed
        ///</summary>
        [ApiMember(Description="Delete automatically when completed")]
        public virtual bool? DeleteWhenCompleted { get; set; }

        ///<summary>
        ///Mission owner
        ///</summary>
        [ApiMember(Description="Mission owner")]
        public virtual string Owner { get; set; }

        ///<summary>
        ///Mission finder key
        ///</summary>
        [ApiMember(Description="Mission finder key")]
        public virtual string FinderKey { get; set; }

        ///<summary>
        ///Defines the mission type. Value can be: E = Entrée/Réapro/Restock, S = Sortie/Picking/Prépa commande or, I = Inventaire/Inventory
        ///</summary>
        [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 virtual string Type { get; set; }

        ///<summary>
        ///Mission trolley
        ///</summary>
        [ApiMember(Description="Mission trolley")]
        public virtual string Trolley { get; set; }

        ///<summary>
        ///Reference of the target printer
        ///</summary>
        [ApiMember(Description="Reference of the target printer")]
        public virtual string Printer { get; set; }

        ///<summary>
        ///Defines if the mission has been cancelled
        ///</summary>
        [ApiMember(Description="Defines if the mission has been cancelled")]
        public virtual bool? Cancelled { get; set; }

        ///<summary>
        ///Defines if the mission has been blocked
        ///</summary>
        [ApiMember(Description="Defines if the mission has been blocked")]
        public virtual bool? Blocked { get; set; }

        ///<summary>
        ///Carrier
        ///</summary>
        [ApiMember(Description="Carrier")]
        public virtual string Carrier { get; set; }

        ///<summary>
        ///BatchId
        ///</summary>
        [ApiMember(Description="BatchId")]
        public virtual string BatchId { get; set; }
    }

}

C# MissionCreate 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 /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
}