| All Verbs | /AllOff |
|---|
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 AllOff() =
///<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
///<summary>
///Optional: IP address of the bus controller where to send the AllOff
///</summary>
[<ApiMember(Description="Optional: IP address of the bus controller where to send the AllOff")>]
member val BCIPAddress:String = null with 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 /AllOff HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Delay":0,"StockroomName":"String","BCIPAddress":"String"}