| All Verbs | /SetOrUpdatePositionsToFix |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports GoToLightAPI
Namespace Global
Namespace GoToLightAPI
Public Partial Class LedIssue
Public Overridable Property ID As Integer
Public Overridable Property ReservedDateTime As Integer
Public Overridable Property AreaID As Integer
Public Overridable Property PositionKey As String
Public Overridable Property Note As String
Public Overridable Property Owner As String
Public Overridable Property Reason As LedIssueReason
Public Overridable Property Status As LedIssueStatus
End Class
<Flags>
Public Enum LedIssueReason
UNKOWN = 0
MISPLACED = 1
BROKEN = 2
NOT_DEFINED = 3
OVERLAPPING = 4
MISSING = 5
CS01_MISPLACED = 6
CS01_NOT_DEFINED = 7
End Enum
<Flags>
Public Enum LedIssueStatus
NULL = 0
IGNORED = 1
TOBETREATED = 2
End Enum
Public Partial Class SetOrUpdatePositionsToFix
'''<Summary>
'''Led issue object
'''</Summary>
<ApiMember(Description:="Led issue object", IsRequired:=true)>
Public Overridable Property LedIssue As LedIssue
End Class
End Namespace
End Namespace
VB.NET SetOrUpdatePositionsToFix 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 /SetOrUpdatePositionsToFix 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}}