Picture of Richard 3284
Registered 8 years 114 days
Richard 3284 Tuesday, 30 January 2024, 07:12 PM
GetObject doesn't return object info
Hi,

I try to get some info about booleans out of the pbx, but the GetObjectResult is empty:

AppWebsocket(00227860)::AppWebsocketMessageSend {"mt":"GetObject","api":"PbxAdminApi","cn":"Storingsdienst_Johan","properties":["guid"]} connected:true
01-30 18:00:11.741 booleancreator@bonkestoter.nl AppWebsocket(00227860)::WebsocketSendResult() connected=1 sendCount=1
01-30 18:00:11.742 booleancreator@bonkestoter.nl AppWebsocket(00227860)::AppWebsocketRecvResult {"api":"PbxAdminApi","mt":"GetObjectResult"}

Do I something wrong?

The boolean is there, I checked. See attachment

Richard
Andreas Fink
Moderator Registered 13 years 109 days
Andreas Fink (innovaphone) Thursday, 1 February 2024, 12:26 PM
Re: GetObject doesn't return object info
Hello Richard,

there are no attachments on this forum post, so I can not check if the object with cn "Storingsdienst_Johan" exists.

Can you try to replace cn by guid of the object in your request (you will need to lookup the guid in the PBX config manually for this test)?

Best Regards
Andreas Fink
Picture of Richard 3284
Registered 8 years 114 days
Richard 3284 Thursday, 1 February 2024, 01:00 PM
Re: GetObject doesn't return object info
Hi,

I certainly did attach a file.
But I found the probleem. The Long name was with a space and the name with a _ . I mixed up those 2 and assumed cn was the name.
It's working now.

Thanks for your reply

Richard
← You can define your color theme preference here