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

Page of 136
{
    “responseCode”: 5006,
    “responseMessage”: “Failure: Unable to convert the session. Try again later.”,
    
"detail"
"Capacity Exceeded"
}
deleteSessions
deleteSessions
Description:
Use this API to delete  
 
recorded sessions based on the specified Session IDs. You cannot delete an active
 
 
session. If you try to delete an active session, you will receive an error message.
API URI:
https://<
>:<
>/ora/managementService/manage/deleteSessions
host
port
Supported
Response Format:
JSON
HTTP Method:
POST
Request Parameters
{
   
: {
"requestParameters"
                         
: [
"sessionIds"
"<replace with your string>"
, ...]
"<replace with your string>"
                        }
}
Header Parameters:
JSESSIONID
Parameter
Description:
Go to the 
.
Successful JSON
Response Schema:
{
    
: 2000,
"responseCode"
    
,
"responseMessage"
"Successful"
    
"jobId"
"abcd1234"
}
Failure JSON
Response Schema:
{
    
: <
 is an integer>,
"responseCode"
this
    
,
"responseMessage"
"Failure: <
 is a string>"
this
    
"detail"
"<
 is a string>"
this
}
Related Error Codes:
Go to the 
Events Triggered:
Event Action: Deleted
 
Availability:
Available since API Version 1.0 
Release:
8.5(1)
Notes and Examples:
 API to retrieve the job status and results.
 
84