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

<back to all web services

UpdateLedProblemsStatus

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

public class dtos
{

    public static class UpdateLedProblemsStatus
    {
        /**
        * List of LedIssue to update
        */
        @ApiMember(Description="List of LedIssue to update")
        public ArrayList<LedIssue> LedIssue = new ArrayList<LedIssue>();
        
        public ArrayList<LedIssue> getLedIssue() { return LedIssue; }
        public UpdateLedProblemsStatus setLedIssue(ArrayList<LedIssue> value) { this.LedIssue = value; return this; }
    }

    public static class LedIssue
    {
        public Integer ID = null;
        public Integer ReservedDateTime = null;
        public Integer AreaID = null;
        public String PositionKey = null;
        public String Note = null;
        public String Owner = null;
        public LedIssueReason Reason = null;
        public LedIssueStatus Status = null;
        
        public Integer getId() { return ID; }
        public LedIssue setId(Integer value) { this.ID = value; return this; }
        public Integer getReservedDateTime() { return ReservedDateTime; }
        public LedIssue setReservedDateTime(Integer value) { this.ReservedDateTime = value; return this; }
        public Integer getAreaID() { return AreaID; }
        public LedIssue setAreaID(Integer value) { this.AreaID = value; return this; }
        public String getPositionKey() { return PositionKey; }
        public LedIssue setPositionKey(String value) { this.PositionKey = value; return this; }
        public String getNote() { return Note; }
        public LedIssue setNote(String value) { this.Note = value; return this; }
        public String getOwner() { return Owner; }
        public LedIssue setOwner(String value) { this.Owner = value; return this; }
        public LedIssueReason getReason() { return Reason; }
        public LedIssue setReason(LedIssueReason value) { this.Reason = value; return this; }
        public LedIssueStatus getStatus() { return Status; }
        public LedIssue setStatus(LedIssueStatus value) { this.Status = value; return this; }
    }

    @Flags()
    public static enum LedIssueReason
    {
        @SerializedName("0") Unkown(0),
        @SerializedName("1") Misplaced(1),
        @SerializedName("2") Broken(2),
        @SerializedName("3") NotDefined(3),
        @SerializedName("4") Overlapping(4),
        @SerializedName("5") Missing(5),
        @SerializedName("6") CS01Misplaced(6),
        @SerializedName("7") CS01NotDefined(7);

        private final int value;
        LedIssueReason(final int intValue) { value = intValue; }
        public int getValue() { return value; }
    }

    @Flags()
    public static enum LedIssueStatus
    {
        @SerializedName("0") Null(0),
        @SerializedName("1") Ignored(1),
        @SerializedName("2") Tobetreated(2);

        private final int value;
        LedIssueStatus(final int intValue) { value = intValue; }
        public int getValue() { return value; }
    }

}

Java UpdateLedProblemsStatus 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 /UpdateLedProblemsStatus HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	LedIssue: 
	[
		{
			ID: 0,
			ReservedDateTime: 0,
			AreaID: 0,
			PositionKey: String,
			Note: String,
			Owner: String,
			Reason: 0,
			Status: 0
		}
	]
}