<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic pull data from a Netsuite REST API using NLauth authentication in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/pull-data-from-a-Netsuite-REST-API-using-NLauth-authentication/m-p/585764#M17919</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data is in Json format :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[&lt;BR /&gt;{&lt;BR /&gt;"SO_Number": "SO/SW-AHB/002690",&lt;BR /&gt;"PO_Date": "03/12/2018",&lt;BR /&gt;"Department": "Pepsico - RFPL",&lt;BR /&gt;"Class": "RFPL : Pepsico - RFPL",&lt;BR /&gt;"Location": "RFPL : Ahmedabad - DC"&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I want this data in power BI to desing PI Chart using NLauth,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;query :&amp;nbsp;&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;Source = Json.Document(Web.Contents("&lt;A href="https://xyz-sb1.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=7&amp;amp;deploy=1" target="_blank"&gt;https://xyz-sb1.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=7&amp;amp;deploy=1&lt;/A&gt;", [Headers=[Authorization="NLAuth nlauth_account= , nlauth_email= , nlauth_signature= , nlauth_role = ", Accept="application/json"]])),&lt;BR /&gt;#"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),&lt;BR /&gt;#"Expanded Value" = Table.ExpandRecordColumn(#"Converted to Table", "Value", {"SO_Number", "PO_Date", "Department", "Class", "Location"}, {"SO_Number", "PO_Date", "Department", "Class", "Location"})&lt;BR /&gt;in&lt;BR /&gt;#"Expanded Value"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I m getting this error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DataSource Error : Web.Contents failed to get Contents&amp;nbsp; from url (400) Bad request&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give me solution, that i can take this json data in power bi table to design PI chart report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Dec 2018 10:06:45 GMT</pubDate>
    <dc:creator>shindejyoti69</dc:creator>
    <dc:date>2018-12-14T10:06:45Z</dc:date>
    <item>
      <title>pull data from a Netsuite REST API using NLauth authentication</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/pull-data-from-a-Netsuite-REST-API-using-NLauth-authentication/m-p/585764#M17919</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data is in Json format :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[&lt;BR /&gt;{&lt;BR /&gt;"SO_Number": "SO/SW-AHB/002690",&lt;BR /&gt;"PO_Date": "03/12/2018",&lt;BR /&gt;"Department": "Pepsico - RFPL",&lt;BR /&gt;"Class": "RFPL : Pepsico - RFPL",&lt;BR /&gt;"Location": "RFPL : Ahmedabad - DC"&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I want this data in power BI to desing PI Chart using NLauth,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;query :&amp;nbsp;&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;Source = Json.Document(Web.Contents("&lt;A href="https://xyz-sb1.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=7&amp;amp;deploy=1" target="_blank"&gt;https://xyz-sb1.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=7&amp;amp;deploy=1&lt;/A&gt;", [Headers=[Authorization="NLAuth nlauth_account= , nlauth_email= , nlauth_signature= , nlauth_role = ", Accept="application/json"]])),&lt;BR /&gt;#"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),&lt;BR /&gt;#"Expanded Value" = Table.ExpandRecordColumn(#"Converted to Table", "Value", {"SO_Number", "PO_Date", "Department", "Class", "Location"}, {"SO_Number", "PO_Date", "Department", "Class", "Location"})&lt;BR /&gt;in&lt;BR /&gt;#"Expanded Value"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I m getting this error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DataSource Error : Web.Contents failed to get Contents&amp;nbsp; from url (400) Bad request&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give me solution, that i can take this json data in power bi table to design PI chart report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 10:06:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/pull-data-from-a-Netsuite-REST-API-using-NLauth-authentication/m-p/585764#M17919</guid>
      <dc:creator>shindejyoti69</dc:creator>
      <dc:date>2018-12-14T10:06:45Z</dc:date>
    </item>
  </channel>
</rss>

