Cisco Cisco MediaSense Release 9.0(1) Guía Del Desarrollador

Descargar
Página de 136
Notes and
Examples:
When an API user's password changes in Unified CM, it may take several minutes for that change to be reflected in
Cisco MediaSense. 
A successful response also returns a JSESSIONID inside a cookie. This JSESSIONID is a session identifier and
serves as a means of authentication for the subsequent requests. 
Examples for signIn
Example 1
To signIn a user with username "
" and password "
" on the server 
 at port 
:
myUser
cisco
10.194.118.1
8440
HTTPS POST:
https://10.194.118.1:8440/ora/authenticationService/authentication/signIn  
Headers:
Content-Type: application/json
Request Body:
{
   
: {
"requestParameters"
                            
:
,
"username" "myUser"
                            
:
"password" "cisco"
                      }
}
signOut
signOut
Description:
This API is used to sign out the user. No parameter other than the JSESSIONID is required to sign
the user out.
API URI:
https://<
>:<
>/ora/authenticationService/authentication/signOut
host
port
Supported Response Format:
JSON
HTML Method:
POST
Request Parameters:
None 
Header Parameters:
JSESSIONID
Parameter Description:
 
127