Go-to-Light Service 4.0.0.2397 - 121 - API License to Cloud Demo

<back to all web services

RegisterCallback

Requires Authentication
The following routes are available for this service:
All Verbs/RegisterCallback
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class RegisterCallback
{
    /**
    * Callback on which to get registered (e.g. SetPosition)
    */
    @ApiMember(Description="Callback on which to get registered (e.g. SetPosition)")
    open var Name:String? = null

    /**
    * Callback URL
    */
    @ApiMember(Description="Callback URL")
    open var CallbackURL:String? = null

    /**
    * Optional: Callback username
    */
    @ApiMember(Description="Optional: Callback username")
    open var CallbackUsername:String? = null

    /**
    * Optional: Callback password
    */
    @ApiMember(Description="Optional: Callback password")
    open var CallbackPassword:String? = null

    /**
    * Optional: Callback authorization
    */
    @ApiMember(Description="Optional: Callback authorization")
    open var CallbackAuthorization:String? = null

    /**
    * 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.
    */
    @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.")
    open var DetailLevel:Int? = null
}

Kotlin RegisterCallback DTOs

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

HTTP + OTHER

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

{"Name":"String","CallbackURL":"String","CallbackUsername":"String","CallbackPassword":"String","CallbackAuthorization":"String","DetailLevel":0}