| All Verbs | /ShowPredictiveEx/{BlinkKey}/{QtyBlinkKey}/{SteadyKey}/{Color}/{ShowHeader}/{Owner} |
|---|
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 enum HeaderMode
{
on,
off,
once,
}
public partial class ShowPredictiveEx
{
///<summary>
///Key identifying a location that will be shown blinking
///</summary>
[ApiMember(Description="Key identifying a location that will be shown blinking", IsRequired=true)]
public virtual string BlinkKey { get; set; }
///<summary>
///Number of articles for blink
///</summary>
[ApiMember(Description="Number of articles for blink ", IsRequired=true)]
public virtual int QtyBlinkKey { get; set; }
///<summary>
///Key identifying a location that will be shown not blinking
///</summary>
[ApiMember(Description="Key identifying a location that will be shown not blinking", IsRequired=true)]
public virtual string SteadyKey { get; set; }
///<summary>
///HTML Color code (e.g. FF00FF)
///</summary>
[ApiMember(Description="HTML Color code (e.g. FF00FF)", IsRequired=true)]
public virtual string Color { get; set; }
///<summary>
///Indicates the way the area header will be displayed (possible values are on, off, once)
///</summary>
[ApiMember(Description="Indicates the way the area header will be displayed (possible values are on, off, once)", IsRequired=true)]
public virtual HeaderMode ShowHeader { get; set; }
///<summary>
///Name of the owner of the color/command to allow color sharing
///</summary>
[ApiMember(Description="Name of the owner of the color/command to allow color sharing", IsRequired=true)]
public virtual string Owner { get; set; }
///<summary>
///Optional: name of the stockroom where to show the position
///</summary>
[ApiMember(Description="Optional: name of the stockroom where to show the position")]
public virtual string StockroomName { get; set; }
}
}
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 /ShowPredictiveEx/{BlinkKey}/{QtyBlinkKey}/{SteadyKey}/{Color}/{ShowHeader}/{Owner} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"BlinkKey":"String","QtyBlinkKey":0,"SteadyKey":"String","Color":"String","ShowHeader":"on","Owner":"String","StockroomName":"String"}