search by sessionId

Document created by cdnadmin on Jan 24, 2014
Version 1Show Document
  • View in full screen mode
This document was generated from CDN thread

Created by: Cesar Arguello on 08-05-2012 04:51:53 PM
I'm trying to search an  specific session however mediasense says: {"responseMessage":"Failure: The fieldName parameter is invalid.","responseCode":4041}.
 
Json sent  was:
{"requestParameters": [{"fieldName" : "sessionId","fieldConditions": [{"fieldOperator" : "equals","fieldValues" : ["3b31372e2b37391"]}]}]}
to: https://xxx.xx.xx.xx:8443/ora/queryService/query/getSessions
 
if that way is wrong, how i can search the session 3b31372e2b37391
 
Regards....
 
 

Subject: RE: search by sessionId
Replied by: Cesar Arguello on 09-05-2012 04:27:06 PM
i  saw an old developer guide(1.0), but in that guide don't explain  getSessionBySessionId, that is the reason.

Regards...



Subject: RE: search by sessionId
Replied by: Mark Clark on 09-05-2012 02:09:58 PM
Cesar,
       The "sessionId" field is no longer supported in the getSessions API. Instead, please use the "getSessionBySessionId". Note: This uses HTTP GET instead of HTTP POST.

Regards.

Subject: RE: search by sessionId
Replied by: Mark Clark on 09-05-2012 02:37:47 PM
Cesar,
        Please refer to "Cisco MediaSense Developer Guide". Search for "Parameter Details for getSessions" to see what fields are supported by "getSessions". Go to the "getSessionBySessionId" section for details on using that API.

Regards.

Attachments

    Outcomes