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

<back to all web services

PBL_ShowPredictive

Requires Authentication
The following routes are available for this service:
All Verbs/PBL_ShowPredictive
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class PBL_ShowPredictive
    {
        /**
        * Position identifying a location that will be shown blinking (ex. current position)
        */
        @ApiMember(Description="Position identifying a location that will be shown blinking (ex. current position)", IsRequired=true)
        public String BlinkPosition = null;

        /**
        * Position identifying a location that will be shown not blinking (ex. next position)
        */
        @ApiMember(Description="Position identifying a location that will be shown not blinking (ex. next position)")
        public String SteadyPosition = null;

        /**
        * Optional: HTML Color code (e.g. FF00FF)
        */
        @ApiMember(Description="Optional: HTML Color code (e.g. FF00FF)")
        public String Color = null;

        /**
        * Name of the owner of the color/command to allow color sharing
        */
        @ApiMember(Description="Name of the owner of the color/command to allow color sharing", IsRequired=true)
        public String Owner = null;
        
        public String getBlinkPosition() { return BlinkPosition; }
        public PBL_ShowPredictive setBlinkPosition(String value) { this.BlinkPosition = value; return this; }
        public String getSteadyPosition() { return SteadyPosition; }
        public PBL_ShowPredictive setSteadyPosition(String value) { this.SteadyPosition = value; return this; }
        public String getColor() { return Color; }
        public PBL_ShowPredictive setColor(String value) { this.Color = value; return this; }
        public String getOwner() { return Owner; }
        public PBL_ShowPredictive setOwner(String value) { this.Owner = 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_ShowPredictive DTOs

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

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /PBL_ShowPredictive HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"BlinkPosition":"String","SteadyPosition":"String","Color":"String","Owner":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Success":false,"Error":"String","Result":{},"Color":"String"}