Secondary Objects
Secondary objects belong to primary objects.
Because there can be multiple instances of a secondary object within a primary object, secondary objects must be specified by a ResourceId that uniquely identifies that instance within the primary object. Like the ObjectID, the ResourceId is immutable, but only within the scope of the primary object referencing it. To uniquely identify a specific secondary object instance, the primary object's ObjectID and the secondary object's ResourceId pair must be specified in the API call.
In addition to a ResourceId, on-demand periodic balance objects include an INTERVAL_ID to uniquely identify balances that can have the same end dates. The INTERVAL_ID is returned in wallet queries and is included in SQL exports.