| All Verbs | /RegisterCallback |
|---|
namespace GoToLightAPI
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type RegisterCallback() =
///<summary>
///Callback on which to get registered (e.g. SetPosition)
///</summary>
[<ApiMember(Description="Callback on which to get registered (e.g. SetPosition)")>]
member val Name:String = null with get,set
///<summary>
///Callback URL
///</summary>
[<ApiMember(Description="Callback URL")>]
member val CallbackURL:String = null with get,set
///<summary>
///Optional: Callback username
///</summary>
[<ApiMember(Description="Optional: Callback username")>]
member val CallbackUsername:String = null with get,set
///<summary>
///Optional: Callback password
///</summary>
[<ApiMember(Description="Optional: Callback password")>]
member val CallbackPassword:String = null with get,set
///<summary>
///Optional: Callback authorization
///</summary>
[<ApiMember(Description="Optional: Callback authorization")>]
member val CallbackAuthorization:String = null with get,set
///<summary>
///Optional: niveau de détail souhaité pour les événements touch (rétro-compatibilité), interprété comme un masque de bits (Gestures=1, Detailed=2). 0 = Legacy (défaut, payload historique string position) ; 1 = Gestures (JSON: Click/DoubleClick/LongPress + durationMs) ; 2 = Detailed (JSON: position, edge Down/Up, timestampUtc, seq) ; 3 = Both (Gestures + Detailed). Absent ou 0 => comportement inchangé pour les clients existants.
///</summary>
[<ApiMember(Description="Optional: niveau de détail souhaité pour les événements touch (rétro-compatibilité), interprété comme un masque de bits (Gestures=1, Detailed=2). 0 = Legacy (défaut, payload historique string position) ; 1 = Gestures (JSON: Click/DoubleClick/LongPress + durationMs) ; 2 = Detailed (JSON: position, edge Down/Up, timestampUtc, seq) ; 3 = Both (Gestures + Detailed). Absent ou 0 => comportement inchangé pour les clients existants.")>]
member val DetailLevel:Int32 = new Int32() with get,set
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 /RegisterCallback HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Name":"String","CallbackURL":"String","CallbackUsername":"String","CallbackPassword":"String","CallbackAuthorization":"String","DetailLevel":0}