Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: 9bbdb74a0e on May 13, 2015, 05:51:01 PM
-
Hi,
I have a problem.
We create User-Defined Field field - Contract. Can somebody help, how automaticaly create chain id base on this on the Contract?
Thanks
-
Chain id? Outbound? Please clarify what you want to do
-
Agreed, def need more info to answer this.
I will assume you mean outbound.
If you insert records directly to the calling list DB table you will need to manage record_id, chain_id, chain_n manually. You could choose something as non elegant as select max(chain_id) in your insert statement.
Regards,
Andrew
-
Sorry about my english.
Outbound Countact.
We recived data to the call list from http by method AddRecod (http://host/lists/CallList?req=RecordAdd)
Our Client can send Contract Number (varchar) as id for the record, and don't want send chain id as integer
For example
Phone1, Contract1
Phone2, Contract1
Phone1, Contract2
We have here two chain, how we can chaining this records automaticaly by Contract name?
I See only one way by database update, but maybe Genesys have self function to do this?
-
chain_id HAS to be an integer due DB data type.
The HTTP AddRecord implementation can't do what you want, but the API AddRecord via TLib can, send the Chain_id as parameter.
Maybe you can do it. BTW...why???
This is maybe more easily doable creating a custom field and storing the data in there rather than manipulating chain_id...chain_id is only for customer association, but can be achieved on better and more efficient ways
-
In the Genesys Administrator control panel there is botton with function that I need -- "Chaining Records". I can choise field that wiil be be ID for chaing records (in my way -- Contract).
Can I do something like this by OCServer API or other automatic way without manual action?
-
Hi Everybody Sorry if i already posted this reply on another topic but i really need a quick answer, if Moderators or Administrators think that i made a mistake they can remove my post,
Is there any kind of update? I'm really in trouble with this topic coz i have to add a new record in a campaing to rescudele common inboud call not connected with outbound campaign.
I tried using IWS SDK to add a record via OutboundServices but i don't have the OutboundChain...i don't know if i made any mistakes or if i don't have the chain because my inboundCall is a simple call and not connected with an outbound campaign...
in detail...the method i wanted to use is Genesyslab.Enterprise.Services.IOutboundService.void AddRecord(IDevice device, IRecord dataRecord, KeyValueCollection extension, string correlatorData);
i initialize a new record
Genesyslab.Enterprise.Model.Interaction.IRecord newRecord = this.outboundService.CreateRecord(InteractionIn.OutboundChainRecord);
but as i told i'm not able to retrieve a valorized instance of OutboundChainRecord
Do you have any tricks?
do you have any snippets of the http addRecord invocation?
.NET in not my language and any help will be appreciated very very much
Carlo
-
Strongly recommend use HTTP API of OCS for CRUD requests.
-
What is CRUD Kubig?
-
CRUD = abbr for [b]C[/b]reate - [b]R[/b]ead - [b]U[/b]pdate - [b]D[/b]elete operations.
-
Lmao, from where did you get that or is your invention?
-
It is a general abbr in "IT world" - especially in developing. To be honest, I am little bit surprised you do not know that :)
-
Hehe well acronyms never were my friends ;)
Enviado de meu C6602 usando Tapatalk