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

Page of 136
API URI:
https://<host>:<port>/ora/managementService/manage/convertSession
Supported
Response
Formats:
JSON
HTTP Method:
POST
Request
Parameters:
{
   
: {
"requestParameters"
                        
,
"sessionId"
"<replace with your string>"
                        
"conversionFormat"
"<replace with your string>"
                      }
}
Header
Parameters:
JSESSIONID
Parameter
Description:
Go to the 
Successful
JSON Response
Schema:
{
    
,
"responseMessage"
"Success: Your request was successfully completed."
    
: 2000,
"responseCode"
    
: {
"responseBody"
        
"convertedLink"
"<This is a 
>"
String
    }
}
Failure JSON
Response
Schema:
{
    “responseCode”: <
 is an integer>,
this
    “responseMessage”: “Failure: <
 is a string>”,
this
    
"detail"
"<
 is a string>"
this
}
Related Error
Codes:
 
Go to the
Events
Triggered:
Event Type: 
 
Event Action: Updated
 
Availability:
Available since API Version 1.0 
Release:
8.5(1)
Notes and
Examples:
If the Cisco MediaSense session already exists in the request format, the existing links will be returned. New links will
 Cisco MediaSense 
not be created in the system. If the
session is in ACTIVE or ERROR state, the session cannot be
 
converted.
Examples for convertSession
Example 1
 
82