cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
hhenriques
Level: Powered On

How to configure Custom Connector API response

Hi there! I'm trying to create a Custom Connector to call a REST API. I'm having a really hard time setting the response format. Here's an example of the response:

 

{
	"items": [{
		"id": 1,
		"data": [{
				"timestamp": 1349730000000,
				"average": 91.68629929661914
			},
			{
				"timestamp": 1349733600000,
				"average": 91.70923117467377
			},
			{
				"timestamp": 1349737200000,
				"average": 91.61691532056288
			},
			{
				"timestamp": 1349740800000,
				"average": 91.4590780488105
			},
			{
				"timestamp": 1349744400000,
				"average": 91.34583627396678
			}
		]
	}]
}

The problem is that when I use "Import from example", it ignores my data array (which is a list of key, value dictionaries). Could someone please help me with this? Thanks!

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,140)