| All Verbs | /AllOffLedController/{LCAddress} |
|---|
namespace GoToLightAPI
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type AllOffLedController() =
///<summary>
///Led Controller Address
///</summary>
[<ApiMember(Description="Led Controller Address", IsRequired=true)>]
member val LCAddress:String = null with get,set
///<summary>
///Optional: delay the execution of the command (in seconds)
///</summary>
[<ApiMember(Description="Optional: delay the execution of the command (in seconds)")>]
member val Delay:Nullable<Int32> = new Nullable<Int32>() with get,set
///<summary>
///Optional: name of the stockroom where the area is located
///</summary>
[<ApiMember(Description="Optional: name of the stockroom where the area is located")>]
member val StockroomName:String = null with get,set
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /AllOffLedController/{LCAddress} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
LCAddress: String,
Delay: 0,
StockroomName: String
}