Genesys CTI User Forum > Genesys-related Development

PSDK export/import objects

(1/2) > >>

carpio:
Hello,

I want to create a export/import program and would like to ask if somone can recommend a good way of doing this?

Retrieving Objects I managed and also how to create or change them but I always did it like this:

CfGPersonQuery query = new CfgPersonQuery(service) {Username = "test"}
CfGPerson person = query.Execute();
MessageBox.Show(person.Single().toString());

I could save everything i retrieve in a document a read it in for importing.
But I think there must be a easier way of doing this.
I have checked the Genesys documentation and saw also that there is a way of getting the CfgObject as a xml.

Can someone explain me how I can receive theMessage after sending a RequestReadObjects2?
Because I followed the Genesys documentation but could not find how the message is returned and retrieved.

Thanks

cavagnaro:
Search the forum, similar question has been covered already

Enviado de meu E6633 usando Tapatalk

jarrod:
Would you be interested in a RESTful JSON API interface for the PSDK? pm me.

That could make your life a lot easier.

cavagnaro:
[quote author=jarrod link=topic=10639.msg48318#msg48318 date=1506475169]
Would you be interested in a RESTful JSON API interface for the PSDK? pm me.

That could make your life a lot easier.
[/quote]Do you have such products?
Because URS basically does it too ;) so would be nice to know the difference and which advantage you could provide


Enviado de meu E6633 usando Tapatalk

jarrod:
[quote author=cavagnaro link=topic=10639.msg48319#msg48319 date=1506479952]
Do you have such products?
[/quote]

It is not something that we market very well, yes we do.

We built a component which we call Aft, it is a small java app that acts as an interface to the PSDK for reading and writing config server data and controlling (start / stop) applications via SCS. This is a core part of the InProd solution but can be used on its own.

In terms of basic requirements for routing, it might be best to stay with the built-in tools within URS for reading config data as there would not be a strong enough advantage in using ours. Not sure what the capabilities are for URS to update all config objects, that might be a good use case.

The best uses for this tool would be around scripted or bulk changes maybe even building a custom interface to do what GAX OPM really should do. But our main product does all that, this would be if you wanted to roll your own but do not like the taste of the PSDK.

Navigation

[0] Message Index

[#] Next page

Go to full version