MediaSense Forums

« Back to Technical Discussion

search by sessionId

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
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....
 
 

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.

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.

i saw an old developer guide(1.0), but in that guide don't explain getSessionBySessionId, that is the reason.

Regards...

emoticon