| All Verbs | /PBL_SetFreePosition/{Key}/{LCAddress}/{PixelBegin}/{PixelEnd}/{OutputNumber} |
|---|
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 PBL_SetFreePosition() =
///<summary>
///Key identifying a location
///</summary>
[<ApiMember(Description="Key identifying a location", IsRequired=true)>]
member val Key:String = null with get,set
///<summary>
///LCAddress
///</summary>
[<ApiMember(Description="LCAddress", IsRequired=true)>]
member val LCAddress:String = null with get,set
///<summary>
///Number of first pixel
///</summary>
[<ApiMember(Description="Number of first pixel", IsRequired=true)>]
member val PixelBegin:Int32 = new Int32() with get,set
///<summary>
///Number of last pixel
///</summary>
[<ApiMember(Description="Number of last pixel", IsRequired=true)>]
member val PixelEnd:Int32 = new Int32() with get,set
///<summary>
///Output number
///</summary>
[<ApiMember(Description="Output number", IsRequired=true)>]
member val OutputNumber:Int32 = new Int32() with get,set
[<AllowNullLiteral>]
type PBL_StandardResponse() =
member val Success:Boolean = new Boolean() with get,set
member val Error:String = null with get,set
member val Result:Object = null with get,set
member val Color:String = null with get,set
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /PBL_SetFreePosition/{Key}/{LCAddress}/{PixelBegin}/{PixelEnd}/{OutputNumber} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<PBL_SetFreePosition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoToLightAPI">
<Key>String</Key>
<LCAddress>String</LCAddress>
<OutputNumber>0</OutputNumber>
<PixelBegin>0</PixelBegin>
<PixelEnd>0</PixelEnd>
</PBL_SetFreePosition>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <PBL_StandardResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoToLightAPI"> <Color>String</Color> <Error>String</Error> <Result /> <Success>false</Success> </PBL_StandardResponse>