src/XQueue/Maileon/API/Transactions/TransactionsService.php
function createTransactions($transactions, $release = true, $ignoreInvalidEvents = false) {
		$queryParameters = array(
				'release' => ($release == true)?'true':'false',
				'ignore_invalid_transactions' => ($ignoreInvalidEvents == true)?'true':'false'
		);

                $data = JSONSerializer::json_encode($transactions);
                
		$result = $this->post("transactions",  $data, $queryParameters, "application/json", 
                    'com_maileon_api_transactions_ProcessingReports');
		
		return $result;
	}
function createTransactions($transactions, $release = true, $ignoreInvalidEvents = false) {
		$queryParameters = array(
				'release' => ($release == true)?'true':'false',
				'ignore_invalid_transactions' => ($ignoreInvalidEvents == true)?'true':'false'
		);

                $data = JSONSerializer::json_encode($transactions);
                
		$result = $this->post("transactions",  $data, $queryParameters, "application/json", 
                    'com_maileon_api_transactions_ProcessingReports');
		
		return $result;
	}
Creates a transaction

@param array $transactions
an array of com_maileon_api_transactions_Transaction objects
@param boolean $release
whether the transaction should be released instantly.
@param boolean $ignoreInvalidEvents
If set to false, exceptions like invalid contacts will cause the service to return 400 Bad request.
@return \em com_maileon_api_MaileonAPIResult
the result object of the API call
@throws com_maileon_api_MaileonAPIException
if there was a connection problem or a server error occurred