Author Topic: Questions about using the CommDN API  (Read 4015 times)

Offline abudwill

  • Full Member
  • ***
  • Posts: 157
  • Karma: 4
Questions about using the CommDN API
« on: August 06, 2013, 05:31:48 PM »
Hello,

I was hoping to receive some guidance in terms of how to use the Comm DN API.

I want to use this API to send requests to cancel records.

My confusion starts at how to actually send messages and what methods to use to do so.  I am using Java.  Do I utilize the Voice Platform SDK / TServer Protocol is order to send messages?  I have been looking for sample code snippets but have not been able to find any.

Examining the Outbound Reference guide I see the types of attributes I need to attach to messages (CM_ReqCancelRecord, OriginAppDBID, TargetAppDBID).

Any guidance is appreciated.

Regards,
Andrew

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Questions about using the CommDN API
« Reply #1 on: August 06, 2013, 05:48:58 PM »
For manipulation with OC records you can use HTTP interface, which provides particular function for most operation. I think that developing via SDK is currently to hard for you, because it needs deep knowledge of Genesys event model and etc. So, try to find in OC dep guide chapter about HTTP interface.

Offline abudwill

  • Full Member
  • ***
  • Posts: 157
  • Karma: 4
Re: Questions about using the CommDN API
« Reply #2 on: August 06, 2013, 05:59:41 PM »
Hi Kubig,

I did also look into the HTTP interface.  It does look much easier to use, but I seem to remember reading in the guide that multiple requests could not be sent at the same time.

Regarding the Genesys event model, I think the outbound reference guide details pretty well what attributes need to be attached to the events before they are sent.  I am just not sure how to actually send them.

Would the PSDK, TServerProtocol and EventUserEvent be used to send requests for CommDN?


Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Questions about using the CommDN API
« Reply #3 on: August 06, 2013, 07:53:31 PM »
Yes, send them as KVP.
On exchange.genesyslab.com you have some outbound samples. Also documentation has code samples you can look.