| All Verbs | /UpdateLedProblemsStatus |
|---|
// @Flags()
export enum LedIssueReason
{
UNKOWN = 0,
MISPLACED = 1,
BROKEN = 2,
NOT_DEFINED = 3,
OVERLAPPING = 4,
MISSING = 5,
CS01_MISPLACED = 6,
CS01_NOT_DEFINED = 7,
}
// @Flags()
export enum LedIssueStatus
{
NULL = 0,
IGNORED = 1,
TOBETREATED = 2,
}
export class LedIssue
{
public ID: number;
public ReservedDateTime: number;
public AreaID: number;
public PositionKey: string;
public Note: string;
public Owner: string;
public Reason: LedIssueReason;
public Status: LedIssueStatus;
public constructor(init?: Partial<LedIssue>) { (Object as any).assign(this, init); }
}
export class UpdateLedProblemsStatus
{
/** @description List of LedIssue to update */
// @ApiMember(Description="List of LedIssue to update")
public LedIssue: LedIssue[] = [];
public constructor(init?: Partial<UpdateLedProblemsStatus>) { (Object as any).assign(this, init); }
}
TypeScript 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}]}