DoReferenceTransaction API operation

- extract api building to allow setting subject per request