Cisco Cisco MediaSense Release 9.0(1) Developer's Guide

Page of 136
Failure JSON
Response
Schema:
{
    
: <
 is an integer>,
"responseCode"
this
    
,
"responseMessage"
"Failure: <
 is a string>"
this
    
,
"detail"
"<
 is a string>"
this
    
}
"jobId"
"<
 is a string>"
this
Related Error
Codes:
Go to the 
Events Triggered:
None.
 
Availability:
Available since API Version 1.0 
Release:
8.5(1)
Notes and
Examples:
See 
 
Examples for getJobById
Example 1
HTTP GET:
https://10.194.118.1:8440/ora/queryService/query/getJobById?jobId=AMS_10.194.118.1_1282948026491_5
Headers:
JSESSIONID: <the jsessionId received from a previous 
 request> 
Response:
{
    
,
"responseMessage"
"Success: Your request was successfully completed."
    
: 2000,
"responseCode"
    
: {
"responseBody"
        
: [
"jobs"
            {
                
,
"jobType"
"BULK_DELETE_SESSIONS"
                
: 203567,
"jobDuration"
                
: 1343333766345,
"jobStartTime"
                
,
"jobId"
"AMS_10.194.118.1_1282948026491_5"
                
"jobState"
"COMPLETED"
            }
        ],
        
: 2,
"operationsCompleted"
        
: 0
"operationsRemaining"
    }
}
 
getJobResult
 
63