Custom Apps Output formating

Hi Guys,

I am building a Custom App for Propertyware
Open API, powered by Propertyware

When I execute a GET /leases using the standard HTTP module, the output has the key/value pairs of each lease in a separate collection of the array “Data”

I want to have the same output formatting for my custom app but I can’t seem to make it work.

I have tried:

"output": "{{body}}" which Returns everything as a separate bundle:

"output": "{{item}}" which returns nothing:

"output": "{{body.item}}" which returns nothing:

"iterate": "{{body}}",
"output": {
	"Data": "{{item}}"
},

which returns separate bundles each with a single Data Collection with the key/value pairs:

I don’t really know what I am doing (can’t you tell?). Can someone please point me in the right direction?

Dennis

With help from @samliew I got what I was looking for:

	// Response handling
	"response": {
		"output": {
			"body": "{{body}}",
			"headers": "{{headers}}",
			"statusCode": "{{statusCode}}"
		}
2 Likes