// Run the called method local.methodReturnData = arguments.methodInvocation.proceed(); // Put the return data into a parent structre. if (IsDefined("local.methodReturnData")) { local.stReturnDataStructure = StructNew(); local.stReturnDataStructure["request_timestamp"] = Now(); local.stReturnDataStructure["data"] = local.methodReturnData; return this.taffyResourceObject.representationOf(local.stReturnDataStructure).withStatus(200); }