Go-to-Light Service 4.0.0.2397 - 121 - API License to Cloud Demo

<back to all web services

PBL_SetFreePosition

Requires Authentication
The following routes are available for this service:
All Verbs/PBL_SetFreePosition/{Key}/{LCAddress}/{PixelBegin}/{PixelEnd}/{OutputNumber}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class PBL_SetFreePosition
    {
        /**
        * Key identifying a location
        */
        @ApiMember(Description="Key identifying a location", IsRequired=true)
        public String Key = null;

        /**
        * LCAddress
        */
        @ApiMember(Description="LCAddress", IsRequired=true)
        public String LCAddress = null;

        /**
        * Number of first pixel
        */
        @ApiMember(Description="Number of first pixel", IsRequired=true)
        public Integer PixelBegin = null;

        /**
        * Number of last pixel
        */
        @ApiMember(Description="Number of last pixel", IsRequired=true)
        public Integer PixelEnd = null;

        /**
        * Output number
        */
        @ApiMember(Description="Output number", IsRequired=true)
        public Integer OutputNumber = null;
        
        public String getKey() { return Key; }
        public PBL_SetFreePosition setKey(String value) { this.Key = value; return this; }
        public String getLcAddress() { return LCAddress; }
        public PBL_SetFreePosition setLcAddress(String value) { this.LCAddress = value; return this; }
        public Integer getPixelBegin() { return PixelBegin; }
        public PBL_SetFreePosition setPixelBegin(Integer value) { this.PixelBegin = value; return this; }
        public Integer getPixelEnd() { return PixelEnd; }
        public PBL_SetFreePosition setPixelEnd(Integer value) { this.PixelEnd = value; return this; }
        public Integer getOutputNumber() { return OutputNumber; }
        public PBL_SetFreePosition setOutputNumber(Integer value) { this.OutputNumber = value; return this; }
    }

    public static class PBL_StandardResponse
    {
        public Boolean Success = null;
        public String Error = null;
        public Object Result = null;
        public String Color = null;
        
        public Boolean isSuccess() { return Success; }
        public PBL_StandardResponse setSuccess(Boolean value) { this.Success = value; return this; }
        public String getError() { return Error; }
        public PBL_StandardResponse setError(String value) { this.Error = value; return this; }
        public Object getResult() { return Result; }
        public PBL_StandardResponse setResult(Object value) { this.Result = value; return this; }
        public String getColor() { return Color; }
        public PBL_StandardResponse setColor(String value) { this.Color = value; return this; }
    }

}

Java PBL_SetFreePosition DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Key: String,
	LCAddress: String,
	PixelBegin: 0,
	PixelEnd: 0,
	OutputNumber: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Success: False,
	Error: String,
	Result: {},
	Color: String
}