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
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using GoToLightAPI;

namespace GoToLightAPI
{
    public partial class LedIssue
    {
        public virtual int ID { get; set; }
        public virtual int ReservedDateTime { get; set; }
        public virtual int AreaID { get; set; }
        public virtual string PositionKey { get; set; }
        public virtual string Note { get; set; }
        public virtual string Owner { get; set; }
        public virtual LedIssueReason Reason { get; set; }
        public virtual LedIssueStatus Status { get; set; }
    }

    [Flags]
    public enum LedIssueReason
    {
        UNKOWN = 0,
        MISPLACED = 1,
        BROKEN = 2,
        NOT_DEFINED = 3,
        OVERLAPPING = 4,
        MISSING = 5,
        CS01_MISPLACED = 6,
        CS01_NOT_DEFINED = 7,
    }

    [Flags]
    public enum LedIssueStatus
    {
        NULL = 0,
        IGNORED = 1,
        TOBETREATED = 2,
    }

    public partial class UpdateLedProblemsStatus
    {
        ///<summary>
        ///List of LedIssue to update
        ///</summary>
        [ApiMember(Description="List of LedIssue to update")]
        public virtual List<LedIssue> LedIssue { get; set; } = [];
    }

}

C# UpdateLedProblemsStatus DTOs

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

HTTP + JSV

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/jsv
Content-Type: text/jsv
Content-Length: length

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