UpdateObjectResult feature request
Hi again,
i am playing around with the PbxAdminApi on JS side. Everything works well, there is one behaviour of the "UpdateObjectResult" function to which I have a question.
- https://sdk.innovaphone.com/13r2/doc/appwebsocket/PbxAdminApi.htm#UpdateObject
-- Here it is mentioned that (UpdateObjectResult):
"Sent, when the object is updated, which means it is written to the database and the update is in effect in the PBX. The guid is delivered only if no guid was submitted with the UpdateObject request and a new object is created. "
If I now update several objects in a row, i.e. change existing objects, I do not get a GUID back. So I never know to which object the UpdateObjectResult belongs to, e.g. to inform a specific user about it. An internal mapping (what was sent and for what I have already received a response) cannot be built, because answers do not allways arrive in the same order as the requests. UpdateObject messages have to be processed sequentially at the moment, if I want to react to the result of an UpdateObject operation and the corresponding UpdateObjectResult. By trial and error i know that the PbxAdminApi can handle multiple UpdateObject commands without problems.
Would there be anything against sending the GUID always in the UpdateObjectResult and maybe add an additional flag to indicate if the object was created or modified and if it was successful?
At the moment I get along without the feature.
At the moment I get along without the feature.
Best regards
Mladen