| All Verbs | /ShowPredictive/{BlinkKey}/{SteadyKey}/{Color}/{ShowHeader}/{Owner} |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class ShowPredictive
{
/**
* Key identifying a location that will be shown blinking
*/
@ApiMember(Description="Key identifying a location that will be shown blinking", IsRequired=true)
open var BlinkKey:String? = null
/**
* Key identifying a location that will be shown not blinking
*/
@ApiMember(Description="Key identifying a location that will be shown not blinking", IsRequired=true)
open var SteadyKey:String? = null
/**
* HTML Color code (e.g. FF00FF)
*/
@ApiMember(Description="HTML Color code (e.g. FF00FF)", IsRequired=true)
open var Color:String? = null
/**
* Indicates the way the area header will be displayed (possible values are on, off, once)
*/
@ApiMember(Description="Indicates the way the area header will be displayed (possible values are on, off, once)", IsRequired=true)
open var ShowHeader:HeaderMode? = null
/**
* Name of the owner of the color/command to allow color sharing
*/
@ApiMember(Description="Name of the owner of the color/command to allow color sharing", IsRequired=true)
open var Owner:String? = null
/**
* Optional: name of the stockroom where to show the position
*/
@ApiMember(Description="Optional: name of the stockroom where to show the position")
open var StockroomName:String? = null
}
enum class HeaderMode
{
On,
Off,
Once,
}
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 /ShowPredictive/{BlinkKey}/{SteadyKey}/{Color}/{ShowHeader}/{Owner} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"BlinkKey":"String","SteadyKey":"String","Color":"String","ShowHeader":"on","Owner":"String","StockroomName":"String"}