cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
1203
Views
2
Helpful
4
Replies

Rest API date range

I'm trying to retrieve SM's chats details via  REST API. How could I use a filter to select the output only to a specific date range? I used the "timestamp" filter but it displays all the result older than this timestamp while a i need only the results in a specific range.

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi Antonio,

Thanks for the details. I understand it now.

Unfortunately, SocialMiner APIs currently do not support this capability.

I do agree that providing a timestamp range would be a good idea.

I will communicate this to product management so it can be considered.

Thanks,

Nagendra U M

View solution in original post

4 REPLIES 4
namahesh
Cisco Employee

Hi Antonio,

Which SM REST API are you using? Is it the /search API?

Can you share the API URL you are constructing and the request payload (if any).

Thanks,

Nagendra U M

Hi Nagendra,

the request is an HTTP GET to:

http://10.164.71.237/ccp-webapp/ccp/campaign/CCX_Chat_Campaign/results?timestamp="mytimestamp"

It works correctly but my desire is to limit the result also to a start date.

Thanks.

Antonino

Hi Antonio,

Thanks for the details. I understand it now.

Unfortunately, SocialMiner APIs currently do not support this capability.

I do agree that providing a timestamp range would be a good idea.

I will communicate this to product management so it can be considered.

Thanks,

Nagendra U M

Hi Nagendra,

thanks for your response.

Create
Recognize Your Peers
Content for Community-Ad