Author Topic: RequestGetInteractionStatus Item to search interactions handled by an agent  (Read 3279 times)

Offline jaison_thomas

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
I would like to use RequestGetInteractionStatus request to search all interactions for a Particular agent. Any one knows how to specify the OwnerID in the request. I specified the following properties. But I cannot see the item OwnerId in the UCS request in the logs , so it is not filtering the interactions for that agent.

Dim req As New RequestGetInteractionsWithStatus
                'req.SubmittedBy = "312"
                req.Status = New NullableStatuses(Statuses.Stopped)
                req.MediaType = "email"
                req.InteractionType = "Inbound"
                req.InteractionSubtype = "InboundNew"
                req.Item("Owner") = 312
                'req.Item("Subject").ToString = "30 NOV - Blend Test"

                _targetForUcsRequests.BeginInvoke(New UcsServerAndRequest(_ucs, req), _callbackForUcsRequests, Nothing)

But in the UCS logs, I cannot see the owner filter.

13:32:45.794 Trc 21283 [SvcSrvW-6] <2 134.211.162.91:59592> Request:
  Type=Request
  Service=OMInteractions
  Method=GetInteractionsWithStatus
  Parameters=
    [
      Status=3
      MediaType="email"
      InteractionSubtype="InboundNew"
      InteractionType="Inbound"
    ]
  UserData=
    [
    ].

Any one has any idea how to specify the ownerid to get specific interactions for the agent.