<?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 Re: REST API HELP in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-HELP/m-p/2807754#M39005</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Much easier way would be using out Power BI Connector for ServiceNow app:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://store.servicenow.com/sn_appstore_store.do#!/store/application/87a42573879e0110fb5033773cbb354f/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://store.servicenow.com/sn_appstore_store.do#!/store/application/87a42573879e0110fb5033773cbb35...&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://www.alphaservesp.com/products/servicenow/power-bi/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.alphaservesp.com/products/servicenow/power-bi/&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We have a handy &lt;A href="https://aserve.atlassian.net/wiki/spaces/PBISN/pages/2433581072/User+Guide" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;User&lt;/SPAN&gt;&lt;/A&gt; and &lt;A href="https://aserve.atlassian.net/wiki/spaces/PBISN/pages/2433122329/Administrator+Guide" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;Admin&lt;/SPAN&gt;&lt;/A&gt; Guides for your convenience, but feel free to reach out support team at &lt;A href="mailto:support@alpha-serve.com" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;support@alpha-serve.com&lt;/SPAN&gt;&lt;/A&gt; if you need any assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;P&gt;===&lt;/P&gt;&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2022 03:35:21 GMT</pubDate>
    <dc:creator>antonstorozhuk</dc:creator>
    <dc:date>2022-09-30T03:35:21Z</dc:date>
    <item>
      <title>REST API HELP</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-HELP/m-p/1985624#M30788</link>
      <description>&lt;P&gt;We are trying to extract Incident ticket data from ServiceNow to Power BI using Rest API. We are able to bring Incident tickets data from ServiceNow but our client requirement is,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have Table called ‘X’ in Power BI and in that table have Incident number column and which is having latest to 2 year old data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now we need to have functionality like, pick the incident number from X table and that Ticket number should validate and bring matching data from ServiceNow RESTAPI. It means, whatever the data we have in X table only those incidents should come from ServiceNow REST API.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 20:20:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-HELP/m-p/1985624#M30788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-28T20:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: REST API HELP</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-HELP/m-p/1990573#M30844</link>
      <description>&lt;P&gt;Add a custom column to your table, construct the URL for the incident in each row and then use Web.Contents to pull the individual records.&amp;nbsp; Then expand that new column as needed. Is the data in XML or in JSON?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 22:08:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-HELP/m-p/1990573#M30844</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-07-30T22:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: REST API HELP</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-HELP/m-p/1997350#M30912</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, you are succeed to get data from&amp;nbsp;&lt;SPAN&gt;ServiceNow to Power BI using Rest API. Now your requirement is to filter data by incident number in Table X.&amp;nbsp; Try to update your api to invoke&amp;nbsp;incident number list from Table X.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here I a sample query to get version from sharepoint by api.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = (VersionsRelevantSharePointListName as text, VersionsRelevantSharePointLocation as text, VersionsRelevantItemID as number) =&amp;gt; let
        Source = Xml.Tables(Web.Contents(Text.Combine({
    VersionsRelevantSharePointLocation,
    "/_api/web/Lists/getbytitle('",
    VersionsRelevantSharePointListName ,
    "')/items(",
    Text.From(VersionsRelevantItemID),
    ")/versions"}
    ))),
        entry = Source{0}[entry],
        #"Removed Other Columns2" = Table.SelectColumns(entry,{"content"}),
        #"Expanded content" = Table.ExpandTableColumn(#"Removed Other Columns2", "content", {"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"}, {"content"}),
        #"Expanded content1" = Table.ExpandTableColumn(#"Expanded content", "content", {"properties"}, {"properties"}),
        #"Expanded properties" = Table.ExpandTableColumn(#"Expanded content1", "properties", {"http://schemas.microsoft.com/ado/2007/08/dataservices"}, {"properties"})
    in
        #"Expanded properties"
in
    Source&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 274px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/566632i74E74CDE46F764C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Invoke list with this query and add parameters into query, then expand the table to get your result.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 738px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/566637i459BFC6D40560BB8/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So you just need to filter &lt;SPAN&gt;incident number list from&amp;nbsp;&lt;/SPAN&gt;X table to filter the result in power query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rico Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 09:02:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-HELP/m-p/1997350#M30912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-04T09:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: REST API HELP</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/REST-API-HELP/m-p/2807754#M39005</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Much easier way would be using out Power BI Connector for ServiceNow app:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://store.servicenow.com/sn_appstore_store.do#!/store/application/87a42573879e0110fb5033773cbb354f/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://store.servicenow.com/sn_appstore_store.do#!/store/application/87a42573879e0110fb5033773cbb35...&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://www.alphaservesp.com/products/servicenow/power-bi/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.alphaservesp.com/products/servicenow/power-bi/&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We have a handy &lt;A href="https://aserve.atlassian.net/wiki/spaces/PBISN/pages/2433581072/User+Guide" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;User&lt;/SPAN&gt;&lt;/A&gt; and &lt;A href="https://aserve.atlassian.net/wiki/spaces/PBISN/pages/2433122329/Administrator+Guide" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;Admin&lt;/SPAN&gt;&lt;/A&gt; Guides for your convenience, but feel free to reach out support team at &lt;A href="mailto:support@alpha-serve.com" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;support@alpha-serve.com&lt;/SPAN&gt;&lt;/A&gt; if you need any assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;P&gt;===&lt;/P&gt;&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 03:35:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/REST-API-HELP/m-p/2807754#M39005</guid>
      <dc:creator>antonstorozhuk</dc:creator>
      <dc:date>2022-09-30T03:35:21Z</dc:date>
    </item>
  </channel>
</rss>

