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
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 UpdateLedProblemsStatus
            '''<Summary>
            '''List of LedIssue to update
            '''</Summary>
            <ApiMember(Description:="List of LedIssue to update")>
            Public Overridable Property LedIssue As List(Of LedIssue) = New List(Of LedIssue)
        End Class
    End Namespace
End Namespace

VB.NET 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>