Power query connector was updated:
The following issues were solved:
-
Simplified the options to retrieve the object, instead of changing the output function from the code editor, now you can simply set
Expand Objecttotrue. -
Automatically get field path and field names from the
Routeargument. This solves the issue of having to type ininventory-itemstheninventoryItemsand theninventory-item/[key]. Now all of this is being handled by the connector -
Added
fieldsselection. This should be entered as a coma separated list, e.g.ItemCode, ItemName. Leave blank for default field list.
To learn more on the available fields, you can use this connector, which will give you a navigable documents revealing all paths and fields:
let
Source = Json.Document(Web.Contents("https://{your subdomain}.manager.io/api2"))
in
Source
-
Added
pageSize. In order to retrieve all records, you can set this to0ornull. Be warned though that when you try set yourpageSizeto anything other than50, you must make afieldsselection -
Added the ability to retrieve the objects, expand it and expand custom field object. Manual expansion is no longer required.