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}
"use strict";
export class MissionCreate {
    /** @param {{Name?:string,Info?:string,DeleteWhenCompleted?:boolean,Owner?:string,FinderKey?:string,Type?:string,Trolley?:string,Printer?:string,Cancelled?:boolean,Blocked?:boolean,Carrier?:string,BatchId?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Mission name */
    Name;
    /**
     * @type {string}
     * @description Mission info */
    Info;
    /**
     * @type {?boolean}
     * @description Delete automatically when completed */
    DeleteWhenCompleted;
    /**
     * @type {string}
     * @description Mission owner */
    Owner;
    /**
     * @type {string}
     * @description Mission finder key */
    FinderKey;
    /**
     * @type {string}
     * @description Defines the mission type. Value can be: E = Entrée/Réapro/Restock, S = Sortie/Picking/Prépa commande or, I = Inventaire/Inventory */
    Type;
    /**
     * @type {string}
     * @description Mission trolley */
    Trolley;
    /**
     * @type {string}
     * @description Reference of the target printer */
    Printer;
    /**
     * @type {?boolean}
     * @description Defines if the mission has been cancelled */
    Cancelled;
    /**
     * @type {?boolean}
     * @description Defines if the mission has been blocked */
    Blocked;
    /**
     * @type {string}
     * @description Carrier */
    Carrier;
    /**
     * @type {string}
     * @description BatchId */
    BatchId;
}

JavaScript MissionCreate DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<MissionCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoToLightAPI">
  <BatchId>String</BatchId>
  <Blocked>false</Blocked>
  <Cancelled>false</Cancelled>
  <Carrier>String</Carrier>
  <DeleteWhenCompleted>false</DeleteWhenCompleted>
  <FinderKey>String</FinderKey>
  <Info>String</Info>
  <Name>String</Name>
  <Owner>String</Owner>
  <Printer>String</Printer>
  <Trolley>String</Trolley>
  <Type>String</Type>
</MissionCreate>