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
RegisterCallback Parameters:
NameParameterData TypeRequiredDescription
NamequerystringYesCallback on which to get registered (e.g. SetPosition)
CallbackURLquerystringYesCallback URL
CallbackUsernamequerystringYesOptional: Callback username
CallbackPasswordquerystringYesOptional: Callback password
CallbackAuthorizationquerystringYesOptional: Callback authorization
DetailLevelqueryintNoOptional: 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.

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}