cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1742
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
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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: