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.*


open class UpdateLedProblemsStatus
{
    /**
    * List of LedIssue to update
    */
    @ApiMember(Description="List of LedIssue to update")
    open var LedIssue:ArrayList<LedIssue> = ArrayList<LedIssue>()
}

open class LedIssue
{
    open var ID:Int? = null
    open var ReservedDateTime:Int? = null
    open var AreaID:Int? = null
    open var PositionKey:String? = null
    open var Note:String? = null
    open var Owner:String? = null
    open var Reason:LedIssueReason? = null
    open var Status:LedIssueStatus? = null
}

@Flags()
enum class LedIssueReason(val value:Int)
{
    @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),
}

@Flags()
enum class LedIssueStatus(val value:Int)
{
    @SerializedName("0") Null(0),
    @SerializedName("1") Ignored(1),
    @SerializedName("2") Tobetreated(2),
}

Kotlin UpdateLedProblemsStatus 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 /UpdateLedProblemsStatus HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<UpdateLedProblemsStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoToLightAPI">
  <LedIssue>
    <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>
  </LedIssue>
</UpdateLedProblemsStatus>