This topic contains 3 replies, has 0 voices, and was last updated by Gabukun 8 years ago.
-
AuthorPosts
-
October 29, 2016 at 2:30 pm #6592
GabukunHello everyone,
I’m new to SuiteTalk RESTlets and Microsoft Power Query alike. My goal is to enhance the BI capabilities of NetSuite via Microsoft Power BI.
Having managed to run my REST GET request in Postman,
I need help in replicating the call in Microsoft Power Query.
Has anybody experience in Microsoft Power Query and would know what needs to be changed in my code?
This is a cached copy. Click here to see the original post. -
October 30, 2016 at 3:30 am #6593
chanarbonHi @Gabukun,
Instead of using the Query, why not add the information in the URL for the Web Content. That worked for my end. Or instead using the URL as the host + RelativePath and Query.
-
November 8, 2016 at 5:55 am #6594
GabukunHey @chanarbon,
Thanks for the reply. Indeed, the parameters can be included in the URL, I noticed. I’m stuck with the problem that “the end of the buffer” would be reached. Have you encountered that before? Would you pull the data via XML instead? (What is the contenttype in that case?)
Findings so far:Parameters can be included in the URL.
The preconfigured header contenttype does not work. Follow the one in the screenshot.
When initially running the request, Power Query will prompt in what format the responsed shall be “opened as”. I select json according to contenttype application/json.
When selecting json, Power Query will delete your custom header and prompt that authentication failed. You need to manually reinsert it in the query. -
November 12, 2016 at 11:11 am #6595
GabukunI have found the case for the cryptic error message. The respective RESTlet was in Testing mode. While my login credentials and Administrator role where valid, the RESTlet would only provide data to the script owner in Testing mode.
-
AuthorPosts
You must be logged in to reply to this topic.