Retrieves the children of a resource.
- Collected: the list of children was successfully collected
- Not Collected: the list of children was not successfully collected
- values: the array with the children
- childIds: the array with the ids of the children