10-28-2016 01:11 AM
Hi,
When calling getArchiveSessions method of Mediasense 11.0.1 API , the JSON request below is responded as "{"responseMessage":"Failure: Invalid JSON syntax. Verify the syntax and try again.","responseCode":4056}"
{
"requestParameters":
[
{"sessionIdList":[],
"deviceRef":[],
"minSessionStartDate":1475226000000,
"maxSessionStartDate":1475229600000
}
]
}
While the request below is responded as "{"responseMessage":"Failure: Invalid date range.","responseCode":4065}"
{
"requestParameters":
[
{"sessionIdList":[],
"deviceRef":[],
"minSessionStartDate":2,
"maxSessionStartDate":1
}
]
}
I can't see an example JSON in developer guide v11.0 (http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/mediasense/11/Developer_Guide/CUMS_BK_ms-… ).
Can you give me a valid JSON request example with real values for this method?
Thanks.
Solved! Go to Solution.
10-28-2016 01:32 AM
Hi Gozde,
You can you below syntax to get result:
=============================================
{
"requestParameters": [
{
"sessionIdList": [
"3158051e74501",
"3158051e74701"
]
},
{
"deviceRef": [
"11635",
"11630"
]
},
{
"minSessionStartDate": "1477543948000",
"maxSessionStartDate": "1477579948000"
}
]
}
============================================
In your first request query, you should either provide session id in "" or just put "" in []
In your second request query, date should be in long format like 1477543948000.
Regards,
Ambrose Dev
10-28-2016 01:32 AM
Hi Gozde,
You can you below syntax to get result:
=============================================
{
"requestParameters": [
{
"sessionIdList": [
"3158051e74501",
"3158051e74701"
]
},
{
"deviceRef": [
"11635",
"11630"
]
},
{
"minSessionStartDate": "1477543948000",
"maxSessionStartDate": "1477579948000"
}
]
}
============================================
In your first request query, you should either provide session id in "" or just put "" in []
In your second request query, date should be in long format like 1477543948000.
Regards,
Ambrose Dev
10-29-2016 07:40 AM
Hi Ambrose,
Thanks for the info.
I've made a request providing the session id and the dates in long format like below.
{
"requestParameters": [
{"sessionIdList":["6b761577a64c96f1"],
"deviceRef":["5455"],
"minSessionStartDate":1475226000000,
"maxSessionStartDate":1475229600000}
]
}
When trying to get http response to my request "The operation has timed out" exception was catched after waiting for some time without response. Mediasense server and SFTP server seems reachable. My sign in request is responded with JSessionID successfully. I am not sure what to check more. Can you help on that?
10-31-2016 10:58 PM
I opened an SR for this. It is resolved using Linux based SFTP server instead of Windows based SFTP server.
11-16-2016 08:01 PM
Hi Ambrose,
I have a question.
Does MediaSense version 11.5 support role-based access for AXL (Cisco IP Phone 79xx)? Mean, user belongs to one group only listen again some recording which this user has authoried.
11-16-2016 10:09 PM
Pham,
The roles and permissions for AXL users is not part of the 11.5 release.
In 11.5 we delivered the ability to restrict access when using Finesse for the login credentials.
The AXL roles and permissions is being considered for the 11.6 release.
Thanks,
Anil
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide