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

<back to all web services

SetOrUpdatePositionsToFix

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

public class dtos
{

    public static class SetOrUpdatePositionsToFix
    {
        /**
        * Led issue object
        */
        @ApiMember(Description="Led issue object", IsRequired=true)
        public LedIssue LedIssue = null;
        
        public LedIssue getLedIssue() { return LedIssue; }
        public SetOrUpdatePositionsToFix setLedIssue(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 SetOrUpdatePositionsToFix DTOs

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

HTTP + XML

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

POST /SetOrUpdatePositionsToFix HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<SetOrUpdatePositionsToFix xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoToLightAPI">
  <LedIssue>
    <AreaID>0</AreaID>
    <ID>0</ID>
    <Note>String</Note>
    <Owner>String</Owner>
    <PositionKey>String</PositionKey>
    <Reason>UNKOWN</Reason>
    <ReservedDateTime>0</ReservedDateTime>
    <Status>NULL</Status>
  </LedIssue>
</SetOrUpdatePositionsToFix>