| 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 .xml suffix or ?format=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>