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


open class SetOrUpdatePositionsToFix
{
    /**
    * Led issue object
    */
    @ApiMember(Description="Led issue object", IsRequired=true)
    open var LedIssue:LedIssue? = null
}

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 SetOrUpdatePositionsToFix DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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/json
Content-Type: application/json
Content-Length: length

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