| 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 .other suffix or ?format=other
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/jsonl
Content-Type: text/jsonl
Content-Length: length
{"LedIssue":[{"ID":0,"ReservedDateTime":0,"AreaID":0,"PositionKey":"String","Note":"String","Owner":"String","Reason":0,"Status":0}]}