| All Verbs | /SetOrUpdatePositionsToFix |
|---|
namespace GoToLightAPI
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<Flags>]
type LedIssueReason =
| UNKOWN = 0
| MISPLACED = 1
| BROKEN = 2
| NOT_DEFINED = 3
| OVERLAPPING = 4
| MISSING = 5
| CS01_MISPLACED = 6
| CS01_NOT_DEFINED = 7
[<Flags>]
type LedIssueStatus =
| NULL = 0
| IGNORED = 1
| TOBETREATED = 2
[<AllowNullLiteral>]
type LedIssue() =
member val ID:Int32 = new Int32() with get,set
member val ReservedDateTime:Int32 = new Int32() with get,set
member val AreaID:Int32 = new Int32() with get,set
member val PositionKey:String = null with get,set
member val Note:String = null with get,set
member val Owner:String = null with get,set
member val Reason:LedIssueReason = new LedIssueReason() with get,set
member val Status:LedIssueStatus = new LedIssueStatus() with get,set
[<AllowNullLiteral>]
type SetOrUpdatePositionsToFix() =
///<summary>
///Led issue object
///</summary>
[<ApiMember(Description="Led issue object", IsRequired=true)>]
member val LedIssue:LedIssue = null with get,set
F# SetOrUpdatePositionsToFix DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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/csv
Content-Type: text/csv
Content-Length: length
{"LedIssue":{"ID":0,"ReservedDateTime":0,"AreaID":0,"PositionKey":"String","Note":"String","Owner":"String","Reason":0,"Status":0}}