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

Descargar
Página de 136
Failure JSON
Response
Schema:
{
    
: <
 is an integer>,
"responseCode"
this
    
,
"responseMessage"
"Failure: <
 is a string>"
this
    
"detail"
"<
 is a string>"
this
}
Related Error
Codes:
.
Events
Triggered:
None.
 
Availability:
Available since API Version 1.1 
Release:
8.5(2)
Notes and
Examples:
There may be a delay from the time the currentSystemTime was generated to the time it was actually
received by the client issuing this request.
While the system time is returned in UNIX epoch time, you can use an 
 to convert the time to
a human-readable format.
Examples for getSystemTime
Example 1
HTTP GET:
https://10.194.118.72:8440/ora/infoService/info/getSystemTime
JSESSIONID: <the jsessionId received from a signIn request>
Response:
{
    
,
"responseMessage"
"Success: Your request was successfully completed."
    
: 2000,
"responseCode"
    
: {
"responseBody"
        
"currentSystemTime"
"1301145648258"
    }
}
User Authentication
User Authentication
Use these APIs to authenticate a user. A user must be signed in before any other API can be used. This signIn API returns a JSESSIONID
which must be used in all subsequent requests to authenticate. If the requests are made from a browser, then the browser automatically
handles the session for the clients.
The JSESSIONID expires when the user explicitly logs out or within 30 minutes of inactivity, whichever comes first.
 
125