def retrieve_transaction_allocations(self, asset_manager_id, transaction_id):
self.logger.info('<STR_LIT>', asset_manager_id,<EOL>transaction_id)<EOL>url = '<STR_LIT>' % (self.endpoint, asset_manager_id, transaction_id)<EOL>response = self.session.get(url)<EOL>if response.ok:<EOL><INDENT>allocations = [json_to_transaction(json_allocation) for json_allocation in response.json()]<EOL>self.logger.info('<STR_LIT>', len(allocations))<EOL>return allocations<EOL><DEDENT>else:<EOL><INDENT>self.logger.error(response.text)<EOL>response.raise_for_status()<EOL><DEDENT>
:param asset_manager_id:
:param transaction_id:
:return: