#1310 | Creating get method for the encounter transaction api