<?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: Semantic type update using rest API on prem in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Semantic-type-update-using-rest-API-on-prem/m-p/2265981#M2126</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;We recommend using the UI to update the semantic types. If you want to automatize this action, you have to use the APIs, because the sh command is deprecated and going to be removed in the next version 7.3.1.&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;Nadia.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jan 2020 07:24:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-01-29T07:24:02Z</dc:date>
    <item>
      <title>Semantic type update using rest API on prem</title>
      <link>https://community.qlik.com/t5/Data-Quality/Semantic-type-update-using-rest-API-on-prem/m-p/2265976#M2121</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to update my semantic type using the rest api.&lt;/P&gt;
&lt;P&gt;I have done a job that do the authentication get the bearer token and then call this url ( i tried both)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://myserver:19999/semanticservice/documents/upload?category=XXXXXXX&amp;amp;overwrite=true" target="_blank"&gt;http://myserver:19999/semanticservice/documents/upload?category=XXXXXXX&amp;amp;overwrite=true&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://myserver:8187/documents/upload?category=XXXXXXX&amp;amp;overwrite=true" target="_blank"&gt;http://myserver:8187/documents/upload?category=XXXXXXX&amp;amp;overwrite=true&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I got a 202 response b&lt;/SPAN&gt;&lt;SPAN&gt;ut my semantic type is not updated.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I use a text file with one value per row.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;is that the way to go?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do i need to republish the semantic type after?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your help&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Guillaume&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Semantic-type-update-using-rest-API-on-prem/m-p/2265976#M2121</guid>
      <dc:creator>yome1</dc:creator>
      <dc:date>2024-11-16T03:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Semantic type update using rest API on prem</title>
      <link>https://community.qlik.com/t5/Data-Quality/Semantic-type-update-using-rest-API-on-prem/m-p/2265977#M2122</link>
      <description>&lt;P&gt;Hello Guillaume,&lt;/P&gt; 
&lt;P&gt;First, it's highly recommended to use the UI or the batch or sh commands files to create and update the semantic types.&lt;/P&gt; 
&lt;P&gt;The creation and update of semantic type work with a sandbox, you need to create one:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;PUT https://xxxxxxx/semanticservice/categories/xxxxxxx/sandbox&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Then you patch the semantic type:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;PATCH https://xxxxxx/semanticservice/categories/xxxxxxx&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Set the semantic type to draft:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;PATCH&amp;nbsp;https://xxxx/semanticservice/categories/xxxxxxx/draft&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;And finally publish it if needed:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;POST https://xxxxx/semanticservice/categories/xxxxxxx/publish&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I hope it helps you.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Nadia.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 09:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Semantic-type-update-using-rest-API-on-prem/m-p/2265977#M2122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-03T09:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Semantic type update using rest API on prem</title>
      <link>https://community.qlik.com/t5/Data-Quality/Semantic-type-update-using-rest-API-on-prem/m-p/2265978#M2123</link>
      <description>&lt;P&gt;Hello Nadia,&lt;/P&gt; 
&lt;P&gt;Thank you for this answer, what do you mean by the batch? I understood the command line to update semantic type is deprecated, am i wrong?&lt;/P&gt; 
&lt;P&gt;I want to avoid manual intervention, what do you advice in this case.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 14:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Semantic-type-update-using-rest-API-on-prem/m-p/2265978#M2123</guid>
      <dc:creator>yome1</dc:creator>
      <dc:date>2020-01-24T14:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Semantic type update using rest API on prem</title>
      <link>https://community.qlik.com/t5/Data-Quality/Semantic-type-update-using-rest-API-on-prem/m-p/2265979#M2124</link>
      <description>&lt;P&gt;Hi Guillaume,&lt;/P&gt; 
&lt;P&gt;Yes, the command line is no longer available in 7.3 release. Please find attached documentation on API for semantic type. I hope it help you.&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;Nadia.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LxFR"&gt;API_requests_common_useCases.pdf&lt;/A&gt;</description>
      <pubDate>Tue, 28 Jan 2020 08:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Semantic-type-update-using-rest-API-on-prem/m-p/2265979#M2124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-28T08:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Semantic type update using rest API on prem</title>
      <link>https://community.qlik.com/t5/Data-Quality/Semantic-type-update-using-rest-API-on-prem/m-p/2265980#M2125</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to update the available values in the dictionary to use the drop-down list in validation.&lt;/P&gt;
&lt;P&gt;But i am a bit confused. If i don't want to use the UI to update the semantic type&amp;nbsp; because i want to automate this part, what is the best and easy way to do so?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the messages in this topic API is not recommended and it is better to use batch or sh command (my understanding is that sh command is deprecated, am i right?)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So what is the best option?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Guillaume&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 13:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Semantic-type-update-using-rest-API-on-prem/m-p/2265980#M2125</guid>
      <dc:creator>yome1</dc:creator>
      <dc:date>2020-01-28T13:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Semantic type update using rest API on prem</title>
      <link>https://community.qlik.com/t5/Data-Quality/Semantic-type-update-using-rest-API-on-prem/m-p/2265981#M2126</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;We recommend using the UI to update the semantic types. If you want to automatize this action, you have to use the APIs, because the sh command is deprecated and going to be removed in the next version 7.3.1.&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;Nadia.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 07:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Semantic-type-update-using-rest-API-on-prem/m-p/2265981#M2126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-29T07:24:02Z</dc:date>
    </item>
  </channel>
</rss>

