user/ping
Log in to the policy console.
GET
Log in to a session with the policy console, or check the session status.
For details of the login and authentication process, see Authenticating policy console users.
Example request
Request
CODE
curl -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/user/ping
Response
CODE
{
"message": "",
"status": "OK",
"user": [{
"email": "email01@qwe.com",
"first_name": "change me",
"id": "9b55d45c-8bd3-43ac-a02b-bd4406c7220c",
"last_name": "change me",
"ua_admin": "1",
"ua_creation_date": "2016-05-25 13:07:32.0",
"ua_modification_date": "2016-05-25 13:07:32.0",
"ua_status": "1",
"userUrl": "https://bc.qwe.com/mocana-app-control/rest/user/9b55d45c-8bd3-43ac-a02b-bd4406c7220c"
}]
}