Fernando wrote a great post on how to deal with this particular API architecture with a web services source. You can check it out here - Reverse entitlement aggregation for Web Services connector
You will need to modify the entitlement schema and setup a web services after operation rule in order to get this configured correctly.
Thanks,
Liam