| All Verbs | /AllOffLedController/{LCAddress} |
|---|
import Foundation
import ServiceStack
public class AllOffLedController : Codable
{
/**
* Led Controller Address
*/
// @ApiMember(Description="Led Controller Address", IsRequired=true)
public var lcAddress:String
/**
* Optional: delay the execution of the command (in seconds)
*/
// @ApiMember(Description="Optional: delay the execution of the command (in seconds)")
public var delay:Int?
/**
* Optional: name of the stockroom where the area is located
*/
// @ApiMember(Description="Optional: name of the stockroom where the area is located")
public var stockroomName:String
required public init(){}
}
Swift AllOffLedController DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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/csv
Content-Type: text/csv
Content-Length: length
{"LCAddress":"String","Delay":0,"StockroomName":"String"}