03-14-2018 05:46 AM
From my understanding of this API, we can get a list of object and what changed in them. I am able to retrieve the data, but have a couple of questions:
Thanks in advance.
Solved! Go to Solution.
03-14-2018 07:54 AM
'doGet' indicates that the object has changed in one or more ways beyond what is contained in the listChange item itself, and that the application may want to consider using a regular AXL request (e.g. <getPhone>) to retrieve the complete details of the item so it can be up-to-date. For example, if multiple fields of an items were changed (say, by the admin), then the app would need to retrieve the full object and compare with its local cache to discern exactly/completely what changed.
Not quite sure what you're asking in #2 - AFAIK you will need to use the appropriate AXL request (e.g. <getPhone>) based on the type of object you want to query...there is no general/non-specific way to search for a UID or object name system-wide. A user would need to enter the object name, and indicate 'this is a phone', so the app could call <getPhone> appropriately.
03-14-2018 07:54 AM
'doGet' indicates that the object has changed in one or more ways beyond what is contained in the listChange item itself, and that the application may want to consider using a regular AXL request (e.g. <getPhone>) to retrieve the complete details of the item so it can be up-to-date. For example, if multiple fields of an items were changed (say, by the admin), then the app would need to retrieve the full object and compare with its local cache to discern exactly/completely what changed.
Not quite sure what you're asking in #2 - AFAIK you will need to use the appropriate AXL request (e.g. <getPhone>) based on the type of object you want to query...there is no general/non-specific way to search for a UID or object name system-wide. A user would need to enter the object name, and indicate 'this is a phone', so the app could call <getPhone> appropriately.
03-14-2018 07:59 AM
So, in other words, we would need to constantly be doing getPhone for example for all of the devices and when we see a doGet value of true, do a new getPhone request and compare it against one of the older ones. The doesn't really seem like a good approach for what I am doing, as it wouldn't scale well in larger clusters. I appreciate your answer.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide