Author Topic: Genesys Web Services API - How to use Outbound API for getting campaign status  (Read 4752 times)

Offline bence.meszaros

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Hi There,

I have difficulties with using GenWeb outbound API form a 3rd party java application.

My purpose is fetching campaign status info and getting notifications about the campaign load/unload, start/stop events. What I did was implementing this [url=https://docs.genesys.com/Documentation/HTCC/latest/API/OutboundRequestCampaign]https://docs.genesys.com/Documentation/HTCC/latest/API/OutboundRequestCampaign[/url] API and it is working in our test environment but it fails in production.

I have fundamental doubts, please help me to clarify them.
[list type=decimal]
[li]
In order to use the API I had to create a dedicated user on Genesys Admin GUI with agent role and I had to use a valid place/device pair for the query. My client eventually simulates a human agent with a voice channel. I was told it had agent license impact too... Is this all right? (For me it sounds a bit odd)
[/li]
[li][s]My client does not receive any events in production environment. What I can see in test environment is that any campaign status change results notifications in GenWeb workspace ui for the agents like "Outbound Campaign/Campaign Loaded/Name: AD_Camp_1". In production environment I get no notifications neither on agent workspace UI nor with my java client. Do you have any idea why? My assumption was some kind of agent user access right/group issue, but I could not sort this out. The documentation says nothing about the user/group/permission settings...[/s] I managed to sort this one out.
[/li]
[li]Is this approach correct at all? Genesys Web Services API looks like an auxiliary API for web based clients where the agent is already logged in. Using this API from external applications seems to be a bit clumsy...[/li]
[/list]

Thank you,
Bence
« Last Edit: February 05, 2018, 03:47:12 PM by bence.meszaros »

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
[list type=decimal]
[li]Yes, it will consume technical license[/li]
[li]I do not understand why you are using HTCC for OCS purposes, for these purposes you can use PSDK[/li]
[/list]

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Agree...PSDK would solve it, monitoring the Common DN you will receive all Campaign Events or monitoring each campaign too. Depends on your needs but PSDK should do it

Offline bence.meszaros

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Hi, thanks for the response.

[b]Web Services API Reference[/b]
"Welcome to the Web Services API Reference. This guide provides information about how you can use the Web Services REST API to incorporate Genesys features into [i]custom applications [/i]and [i]integrations with third-party software[/i]."

According to this, it was obvious to use HTCC API...

What is the license dependency for PSDK? I was told we could not use Agent Interaction API (AIL) due to licensing problems. Are PSDK and AIL the same thing?
Thanks,
Bence

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Forgot AIL - it is deprecated. Read about PSDK - I think this is the way for you. Of course the HTCC can also serves for third-party integration, but in terms of agent application or something like that. For you need, the PSDK is the right choice

Offline bence.meszaros

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
I wish we had talked earlier...
Anyway, OutboundServerProtocol API of PSDK seems to be working perfectly. Thanks a lot!

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Hello,

Sorry to post question here but its relevant to this topic.

Can we get campaign status from OCS HTTP ?

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Hi All,

I got the answer I was looking. The answer is NO  :D