Get new post/reply/comment within a specific time interval

Hi ,


We have a requirement to get new post/reply/comment within a specific time interval (15 mins/1 hr...etc) in an automation script API or REST API.

Is there any API  to get this list (new post/reply/comment) ?

Regards



add REST API
[edited by: Mahesh Mundra at 2:41 PM (GMT 0) on Fri, Mar 26 2021]
Parents
  • There are APIs for listing these types of entities, but they may not be exactly what you're requesting.

    For forum threads, dates can be passed.

     

    GET api.ashx/v2/forums/{forumid}/threads.{json|xml} LIST forum threads in a forum. Scopes Forums › Read Threads forums.threads.readonly Request Parameters Name Type Location Description Required Default…
    Last edited in Verint Community 12.x > API Documentation
      

    For forum replies, they cannot, but you can still get all replies to a thread and review the replies' dates.

     

    GET api.ashx/v2/forums/{forumid}/threads/{threadid}/replies.{json|xml} LIST forum replies to a thread. Scopes Forums › Read Replies forums.replies.readonly Request Parameters Name Type Location Description…
    Last edited in Verint Community 12.x > API Documentation
      

    Likewise, comments can be listed, but again not with date offsets directly in the query.

     

    GET api.ashx/v2/comments.{json|xml} LIST comments. Scopes Comments › Read Comments/Threaded Comments comments.comments.readonly Request Parameters Name Type Location Description Required Default Options…
    Last edited in Verint Community 12.x > API Documentation
      

    Are you just trying to get a list of all activity on the site within a date window? If so, the activity story service may be a better match for you. This API is the same API which powers the activity story stream. It can be filtered by date and type of story. However, users can opt out of generating stories for their actions - so it's not guaranteed to contain everything.

     

    GET api.ashx/v2/stories.{json|xml} LIST Activity Stories. Due to performance considerations, the result may not always return the requested PageSize of results, but it is guaranteed to return at least…
    Last edited in Verint Community 12.x > API Documentation
     

Reply
  • There are APIs for listing these types of entities, but they may not be exactly what you're requesting.

    For forum threads, dates can be passed.

     

    GET api.ashx/v2/forums/{forumid}/threads.{json|xml} LIST forum threads in a forum. Scopes Forums › Read Threads forums.threads.readonly Request Parameters Name Type Location Description Required Default…
    Last edited in Verint Community 12.x > API Documentation
      

    For forum replies, they cannot, but you can still get all replies to a thread and review the replies' dates.

     

    GET api.ashx/v2/forums/{forumid}/threads/{threadid}/replies.{json|xml} LIST forum replies to a thread. Scopes Forums › Read Replies forums.replies.readonly Request Parameters Name Type Location Description…
    Last edited in Verint Community 12.x > API Documentation
      

    Likewise, comments can be listed, but again not with date offsets directly in the query.

     

    GET api.ashx/v2/comments.{json|xml} LIST comments. Scopes Comments › Read Comments/Threaded Comments comments.comments.readonly Request Parameters Name Type Location Description Required Default Options…
    Last edited in Verint Community 12.x > API Documentation
      

    Are you just trying to get a list of all activity on the site within a date window? If so, the activity story service may be a better match for you. This API is the same API which powers the activity story stream. It can be filtered by date and type of story. However, users can opt out of generating stories for their actions - so it's not guaranteed to contain everything.

     

    GET api.ashx/v2/stories.{json|xml} LIST Activity Stories. Due to performance considerations, the result may not always return the requested PageSize of results, but it is guaranteed to return at least…
    Last edited in Verint Community 12.x > API Documentation
     

Children