<?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: Update object with QRS API in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Update-object-with-QRS-API/m-p/1053715#M4427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been getting these conflict errors as well with random QRS update calls. I'd be interested in hearing what is causing them and what could I do differently to avoid them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Toni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Feb 2016 08:06:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-22T08:06:52Z</dc:date>
    <item>
      <title>Update object with QRS API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Update-object-with-QRS-API/m-p/1053714#M4426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with API to build deployment and managment tools for Qlik Sense.&lt;/P&gt;&lt;P&gt;I can create any kind of object, publish, clone apps, create dimensions, tags, security rules etc&lt;/P&gt;&lt;P&gt;But I am encountering an issue with all updates (Qlik Sense 2.1.1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried two ways, with a tag exemple :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;-1)&amp;nbsp; With the update method :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/2.1/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-Update.htm" title="https://help.qlik.com/en-US/sense-developer/2.1/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-Update.htm"&gt;https://help.qlik.com/en-US/sense-developer/2.1/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-Update.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am receiving a &lt;SPAN style="color: #ff0000;"&gt;409 Conflict error&lt;/SPAN&gt; code by sending objects with same structure as received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the codes samples :&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;IMG alt="Qlik Sense API Update 1.png" class="jive-image image-1" src="/legacyfs/online/114947_Qlik Sense API Update 1.png" style="height: 710px; width: 620px;" /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And my result :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://FNTVAQSEDEV0847.france.rexel:4242/qrs/tag?Xrfkey=0123456789abcdef&amp;amp;" rel="nofollow"&gt;https://FNTVAQSEDEV0847.france.rexel:4242/qrs/tag?Xrfkey=0123456789abcdef&amp;amp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;{"id":"4de7822b-cadf-462b-86c2-f8f06c5d21f1","name":"MDM","privileges":null},&lt;/P&gt;&lt;P&gt;{"id":"789a093d-b32c-4c5e-87d9-332a2ed835a0","name":"TestAPI","privileges":null}&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update tag ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "Name": "TestAPIUpdated",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "ID": "789a093d-b32c-4c5e-87d9-332a2ed835a0",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "ModifiedDate": "/Date(1382706746631+0200)/"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://FNTVAQSEDEV0847.france.rexel:4242/qrs/tag/789a093d-b32c-4c5e-87d9-332a2ed835a0?Xrfkey=0123456789abcdef&amp;amp;" rel="nofollow"&gt;https://FNTVAQSEDEV0847.france.rexel:4242/qrs/tag/789a093d-b32c-4c5e-87d9-332a2ed835a0?Xrfkey=0123456789abcdef&amp;amp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Le serveur distant a retourné une erreur : (409) Conflit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt;"&gt;2) With Update Selection method&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Help is not helpfull :&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/2.1/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-Update-Selection-By-Synthetic.htm" title="https://help.qlik.com/en-US/sense-developer/2.1/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-Update-Selection-By-Synthetic.htm"&gt;https://help.qlik.com/en-US/sense-developer/2.1/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryS…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks to this post I could have a concrete sample :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/172910"&gt;Using QRS to add a user to a stream&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the request and result (no fail, ut nothing has change) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) Send selection&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://FNTVAQSEDEV0847.france.rexel:4242/qrs/selection/tag?Xrfkey=0123456789abcdef&amp;amp;filter=id" rel="nofollow"&gt;https://FNTVAQSEDEV0847.france.rexel:4242/qrs/selection/tag?Xrfkey=0123456789abcdef&amp;amp;filter=id&lt;/A&gt;&lt;SPAN&gt; eq 789a093d-b32c-4c5e-87d9-332a2ed835a0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{"items":[{"objectID":"789a093d-b32c-4c5e-87d9-332a2ed835a0","type":"Tag","objec&lt;/P&gt;&lt;P&gt;tName":"TestAPI","data":null}],"id":null}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result :&lt;/P&gt;&lt;P&gt;{"id":"6b5f0fbd-7415-4349-b07c-d02f0fef8833","createdDate":"1753-01-01T00:00:00.000Z","modifiedDate":"1753-01-01T00:00:00.000Z","modifiedByUserName":"INTERNAL\\&lt;/P&gt;&lt;P&gt;sa_repository","items":[{"id":"29783b81-bcd6-436b-a1b8-90eb683b739a","createdDate":"1753-01-01T00:00:00.000Z","modifiedDate":"1753-01-01T00:00:00.000Z","modifiedByUserName":"INTERNAL\\sa_repository","type":"Tag","objectID":"789a093d-b32c-4c5e-87d9-332a2ed835a0","objectName":"","schemaPath":"Selection.Item"}],"privilege&lt;/P&gt;&lt;P&gt;s":null,"schemaPath":"Selection"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) Send update&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://FNTVAQSEDEV0847.france.rexel:4242/qrs/selection/6b5f0fbd-7415-4349-b07c-d02f0fef8833/app/synthetic?Xrfkey=0123456789abcdef&amp;amp;filter=id" rel="nofollow"&gt;https://FNTVAQSEDEV0847.france.rexel:4242/qrs/selection/6b5f0fbd-7415-4349-b07c-d02f0fef8833/app/synthetic?Xrfkey=0123456789abcdef&amp;amp;filter=id&lt;/A&gt;&lt;SPAN&gt; eq 789a093d-b32c-4c5e-87d9-332a2ed835a0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "properties": [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "name",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "value": "d422f442-7a57-4613-86d2-64a6b31e40b7",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "valueIsModified":true,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "schemaPath": "SyntheticProperty"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "type":"tag"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Response : blank line =&amp;gt; should be ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result : Unfortunatly, nothing changed, and I can't find effective way to update object property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks by advance for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ghislain Ferréol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 14:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Update-object-with-QRS-API/m-p/1053714#M4426</guid>
      <dc:creator />
      <dc:date>2016-02-17T14:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Update object with QRS API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Update-object-with-QRS-API/m-p/1053715#M4427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been getting these conflict errors as well with random QRS update calls. I'd be interested in hearing what is causing them and what could I do differently to avoid them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Toni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 08:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Update-object-with-QRS-API/m-p/1053715#M4427</guid>
      <dc:creator />
      <dc:date>2016-02-22T08:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Update object with QRS API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Update-object-with-QRS-API/m-p/1053716#M4428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ghislain,&lt;/P&gt;&lt;P&gt;You might want to try the following:&lt;/P&gt;&lt;P&gt;- before update: perform a full GET (i.e. with "/full" qualifier in URL) for the tag you are updating&lt;/P&gt;&lt;P&gt;- use the modifiedDate value from the full GET response in your PUT call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This solved this problem for use. Using any other modifiedDate in the PUT call gave us 409 error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 08:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Update-object-with-QRS-API/m-p/1053716#M4428</guid>
      <dc:creator />
      <dc:date>2016-02-25T08:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Update object with QRS API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Update-object-with-QRS-API/m-p/1053717#M4429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Toni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much, it works perfectly well now.&lt;/P&gt;&lt;P&gt;I just had to change 2 lines with your recommandation :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qlik Sense API Update 2.png" class="jive-image image-1" src="/legacyfs/online/115920_Qlik Sense API Update 2.png" style="height: 442px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Date value return by Full GET is actually in a different format than &lt;SPAN style="font-size: 13.3333px;"&gt;defined on the &lt;/SPAN&gt;online help : 2015-12-23T14:33:16.361Z, easier to read.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I also tried to use DateTime.Now.ToString("s") as date value and it also works fine.&lt;/P&gt;&lt;P&gt;I'll try with other objects types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Ghislain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 08:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Update-object-with-QRS-API/m-p/1053717#M4429</guid>
      <dc:creator />
      <dc:date>2016-02-25T08:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Update object with QRS API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Update-object-with-QRS-API/m-p/1053718#M4430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;De rien &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Nice to hear you got it working. I'm not sure if this is a bug in Qlik because QRS should basically be able to set the modified timestamp by itself when updating an entity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 11:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Update-object-with-QRS-API/m-p/1053718#M4430</guid>
      <dc:creator />
      <dc:date>2016-02-25T11:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Update object with QRS API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Update-object-with-QRS-API/m-p/1053719#M4431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am testing QRS API and am facing a similar issue. I would appreciate if you can give any insights:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/208430"&gt;QRS API - updating users custom properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cesar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 12:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Update-object-with-QRS-API/m-p/1053719#M4431</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2016-03-07T12:51:58Z</dc:date>
    </item>
  </channel>
</rss>

