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

Descargar
Página de 136
Examples for deleteSessions
Example 1
To delete multiple recordings:
HTTP POST:
https://10.194.118.64:8440/ora/managementService/manage/deleteSessions
Headers:
Content-Type: application/json
Body:
{
    
: {
"requestParameters"
        
: [
"sessionIds"
            
,
"4ed31387d58902d1"
            
"4ed31387d58923a3"
        ]
    }
}
Response:
{
    
: 2000,
"responseCode"
    
,
"responseMessage"
"Successful"
    
"jobId"
"abcd1234"
}
deleteSessionTag
deleteSessionTag
Description:
Use this API to delete tags from a session. A tag is the name assigned by the user to label a recording. Once a 
label/tag is no longer needed, it may be deleted from this session by using this API. The tagName and tagOffset parameters
are unique for a tag. When deleting a recording, make sure that you pass in the same name and offset fields with which it
was created (using the addSessionTag API). Once deleted, this operation cannot be undone. But you can add the tag again
to the session by specifying the tag name and offset fields.
API URI:
https://<host>:<port>/ora/managementService/manage/deleteSessionTag
Supported
Response
Formats:
JSON
HTTP
Method:
POST
 
85