def net_transactions(self, asset_manager_id, transaction_ids, netting_type='<STR_LIT>'):
self.logger.info('<STR_LIT>', asset_manager_id,<EOL>transaction_ids)<EOL>url = '<STR_LIT>' % (self.endpoint, asset_manager_id)<EOL>params = {'<STR_LIT>': netting_type}<EOL>response = self.session.post(url, params=params, json=transaction_ids)<EOL>if response.ok:<EOL><INDENT>net_transaction = json_to_transaction(response.json())<EOL>self.logger.info('<STR_LIT>', net_transaction.transaction_id)<EOL>return net_transaction<EOL><DEDENT>else:<EOL><INDENT>self.logger.error(response.text)<EOL>response.raise_for_status()<EOL><DEDENT>
:param asset_manager_id: The asset_manager_id of the netting set owner
:param transaction_ids:  A list of transaction_ids to net
:param netting_type:
:return: