| 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; }
}
}
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 /PBL_SetFreePosition/{Key}/{LCAddress}/{PixelBegin}/{PixelEnd}/{OutputNumber} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Key":"String","LCAddress":"String","PixelBegin":0,"PixelEnd":0,"OutputNumber":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Success":false,"Error":"String","Result":{},"Color":"String"}