My Products
Help
ExopenPM
CONTRIBUTOR *

Filter on nested lastModifiedDateTime attribute

by ExopenPM

Hi,

 

We are fetching Inventory from the Visma.net ERP Service API with filters to only fetch changes from last time we fetch data using "lastModifiedDateTime" and "lastModifiedDateTimeCondition". This works fine but we have found that if the nested child object "warehouseDetails" changes (we are interested in 

"quantityOnHand" for instance) it has its own "lastModifiedDateTime" which updates while the root "lastModifiedDateTime" does not. Hence do we miss this update since we filter on the root object only.
 
Is it possible for us to get changes to "warehouseDetails" and other nested child objects as well via filter or do we have to always fetch all objects to be sure to get all updates?
1 REPLY 1
Marten Voort
VISMA

by Marten Voort

Hi! All lastModifiedDateTime fields in the child objects of the Inventory endpoint relate to changes in availability. Not te be confused with actual item-warehouse details for example. Therefore you will find them directly below available fields in the endpoint response. These can also be filtered when executing a GET request. You can use  the parameters availabilityLastModifiedDateTime and availabilityLastModifiedDateTimeCondition to activate this filter. Let me know if this has the desired effect.