first version of POST and PUT operation for transactions (without DB
transaction)