Page 1 of 1

unable to read ACD operator data

Posted: 05 Feb 2019 12:25
by ssteiner
I'm trying to read the agent configuration of my set A1122. So I'm sending a GET to

http://srvroxe01.nxodev.intra/api/rest/ ... data/A1122

The result is an internal server error (HTTP 500), code 1007

HelpMessage: Server general problem. Please contact the administrator to fix the problem
InnerMessage: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String

I successfully managed to read data below this path (users attached to PGs, list, read individual items, delete and re-create) so I'm confident my path is okay and it looks like the server can't build the object I'm requesting.

Re: unable to read ACD operator data

Posted: 06 Feb 2019 03:29
by yblanchard
could you please give the whole url of your request, thanks.

Re: unable to read ACD operator data

Posted: 07 Feb 2019 08:36
by yblanchard
ok, it's a bug due to bad handling of complex attribute set (like skill set in operator_data).
Fixed in 028: need to enhance PbxAttribute element in order to add a possible complex returned value)