AgileApps Support Wiki Pre Release

REST API:getActiveSessions

From AgileApps Support Wiki
Revision as of 09:06, 9 January 2024 by Wikidevuser (talk | contribs) (Created page with "Retrieve all active sessions of a user ;Method:GET ;URI:<tt>{{platformURL}}/rest/httpSessionManagement/active</tt> ;Request: :<syntaxhighlight lang="xml" enclose="div">{ "pl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Retrieve all active sessions of a user

Method
GET
URI
https://{yourDomain}/networking/rest/httpSessionManagement/active
Request
<syntaxhighlight lang="xml" enclose="div">{

"platform": {

   "session": [
       {
       "id": "f8f8dc9fd2fa4303b02fce4fbbd794a1"  //Session Record-id retrieved from active endpoint
       },
       {
       "id": "bacc3234685c4ae49727809d503ce1c9"
       }
   ]}}

</syntaxhighlight>

Response
<syntaxhighlight lang="xml" enclose="div">{
"platform": {
       "message": {
           "code": "0",
           "description": "Success"
       }
   }

} </syntaxhighlight>