<?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: QRS API - updating users custom properties in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018676#M4064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing that Toni, I will start using the modifiedDate from QRS from now on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Mar 2016 14:10:52 GMT</pubDate>
    <dc:creator>cesaraccardi</dc:creator>
    <dc:date>2016-03-11T14:10:52Z</dc:date>
    <item>
      <title>QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018666#M4054</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 have defined a custom property "Department" and associated to apps/users for access control. I would like to automate the process of going to QMC and manually setting the "Department" values for each user. I believe this should be possible using QRS API but as I don't have much experience with the API am not sure how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Postman and managed to retrieve the details of a given user as well as the custom properties associated:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Request&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080;"&gt;GET /qrs/user/2e04436f-a71a-45c5-999c-793a00ba6a77/?Xrfkey=ABCDEFG123456789 HTTP/1.1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;Host: myserver&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080;"&gt;X-Qlik-Xrfkey: ABCDEFG123456789&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Response&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="json get user by id.PNG" class="jive-image image-1" src="/legacyfs/online/117184_json get user by id.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In this case User 1 is associated to Finance and Sales, now let's say &lt;SPAN style="font-size: 13.3333px;"&gt;I wanted to move it to Executive and Sales. Can I just update the value of "Finance" to "Executive"? I have tried sending a PUT request like below but it doesn't work (&lt;SPAN style="font-size: 13.3333px;"&gt;it gives a &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; color: #ff0000;"&gt;409 Conflict&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; error message). Does anybody know why?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080;"&gt;PUT /qrs/user/2e04436f-a71a-45c5-999c-793a00ba6a77?Xrfkey=ABCDEFG123456789 HTTP/1.1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;Host: myserver&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;X-Qlik-Xrfkey: ABCDEFG123456789&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;Content-Type: application/json&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;&amp;nbsp; "id": "2e04436f-a71a-45c5-999c-793a00ba6a77",&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt; "customProperties": [&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id": "fb5e68ec-d382-4bd1-b9f3-81c5a5f1b3e1",&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "value": "Executive"&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080;"&gt;&lt;EM&gt;&amp;nbsp; ]&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080;"&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&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:44:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018666#M4054</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2016-03-07T12:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018667#M4055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cesar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you noticed, I had the same kind of issue with updates =&amp;gt; 409 Conflict.&lt;/P&gt;&lt;P&gt;I could solve it by sending the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;modifiedDate in the PUT body message to the actual date and hour.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The format of the is not important YYY-MM_DD HH:MM:SS is good enought.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;This might not be the only step to make it work, for other similar request, I then received 400 Bad Request due to invalid body content, I am still on it, each body structure depends on the object type, sending same structure as received with the GET method is not working in every case ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ghislain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 15:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018667#M4055</guid>
      <dc:creator />
      <dc:date>2016-03-07T15:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018668#M4056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Ghislain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try adding the modifiedDate as you suggested and will come back later with the results.&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 16:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018668#M4056</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2016-03-07T16:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018669#M4057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to get the update property working, in order to do this I have copied the JSON response of the GET user and changed the fields highlighted in green:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="json update cp.png" class="jive-image image-1" src="/legacyfs/online/117341_json update cp.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;So looks like in this case we need to provide the actual date and time to both the modifiedDate of the User as well as the property that is being changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not going to close this thread yet because I want to test add/removing properties as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cesar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 12:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018669#M4057</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2016-03-08T12:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018670#M4058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to add/remove properties as well, the process is similar to updating. As long as the ModifiedDate is changed to an actual date and time it works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 14:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018670#M4058</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2016-03-08T14:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018671#M4059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way I understand how Qlik works is that it will use modifiedDate for detecting dirty write situations. So when updating an entity in Qlik, you should pass the existing modifiedDate that you can fetch with GET qrs/user/full&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 13:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018671#M4059</guid>
      <dc:creator />
      <dc:date>2016-03-10T13:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018672#M4060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I noticed that the modifiedDate is replaced by a "system"date after the request is processed so you don't need to send the exact date and time obtained with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;GET qrs/user/full apparently.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018672#M4060</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2016-03-10T14:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018673#M4061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm interesting. Where is it replaced and by whom? By Qlik? We've been monitoring all JSON traffic and I'm pretty sure you need to pass the exact same modifiedDate that was in Qlik repository before update. I'm not sure about the precision of the date though, if you add a couple of seconds to modifiedDate in PUT (compared to existing modifiedDate) I always get 409 conflict error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:36:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018673#M4061</guid>
      <dc:creator />
      <dc:date>2016-03-10T14:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018674#M4062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically what I am doing is sending a GET qrs/user/{id}, copying the JSON, changing the parameters I want to update and setting the modifiedDate to actual date time (doing this manually, with a precision of minutes). Example:&lt;/P&gt;&lt;P&gt;Request:&lt;/P&gt;&lt;P&gt;"modifiedDate": "2016-03-10T14:49:18.684Z"&lt;/P&gt;&lt;P&gt;Response - 200 OK:&lt;/P&gt;&lt;P&gt;"modifiedDate": "2016-03-10T14:50:09.281Z"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:56:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018674#M4062</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2016-03-10T14:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018675#M4063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We actually contacted Qlik, and they can reproduce the 409 issue. &lt;/P&gt;&lt;P&gt;They updated the documentation on this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/2.2/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-General-Purpose-Paths.htm?q=modifieddate" title="https://help.qlik.com/en-US/sense-developer/2.2/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-General-Purpose-Paths.htm?q=modifieddate"&gt;https://help.qlik.com/en-US/sense-developer/2.2/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryS…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; background-color: #f4f4f4;"&gt;"Many JSON structs in the &lt;/SPAN&gt;&lt;SPAN class="PrimaryQRSName" style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;Qlik Sense Repository Service&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; background-color: #f4f4f4;"&gt; (&lt;/SPAN&gt;&lt;SPAN class="PrimaryQRSName_Short" style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;QRS&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; background-color: #f4f4f4;"&gt;) API include the modifiedDate property, which is used to avoid conflicts in the repository database. For example, when updating an entity, leave the modifiedDate property unchanged. If the modifiedDate property for the updated entity differs from the modifiedDate property for the entity in the &lt;/SPAN&gt;&lt;SPAN class="PrimaryQRSName_Short" style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;QRS&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; background-color: #f4f4f4;"&gt;, there is a conflict (that is, the entity in the &lt;/SPAN&gt;&lt;SPAN class="PrimaryQRSName_Short" style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;QRS&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; background-color: #f4f4f4;"&gt; has already been updated by someone else)."&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 07:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018675#M4063</guid>
      <dc:creator />
      <dc:date>2016-03-11T07:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018676#M4064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing that Toni, I will start using the modifiedDate from QRS from now on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 14:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018676#M4064</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2016-03-11T14:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018677#M4065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Cesar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been wrestling with the same problem for days. Your approach gave me great hints!&lt;/P&gt;&lt;P&gt;I think basically if we need to do any POST requests with QRS API, we need the modifiedDate field in the data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mengyi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 02:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018677#M4065</guid>
      <dc:creator />
      <dc:date>2016-08-12T02:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018678#M4066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad to see that this post has proven to be helpful to you, wish you luck on your implementation!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cesar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 08:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018678#M4066</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2016-08-12T08:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018679#M4067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey guys, great discussion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a little example to help others&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P style="color: #d4d4d4; background-color: #1e1e1e; font-family: Consolas, 'Courier New', monospace; font-size: 14px;"&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #dcdcaa;"&gt;createCustomProperty&lt;/SPAN&gt;(&lt;SPAN style="color: #ce9178;"&gt;'testBies'&lt;/SPAN&gt;, [&lt;SPAN style="color: #b5cea8;"&gt;1&lt;/SPAN&gt;, &lt;SPAN style="color: #b5cea8;"&gt;2&lt;/SPAN&gt;]);&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #c586c0;"&gt;export&lt;/SPAN&gt; &lt;SPAN style="color: #569cd6;"&gt;function&lt;/SPAN&gt; &lt;SPAN style="color: #dcdcaa;"&gt;createCustomProperty&lt;/SPAN&gt;(&lt;SPAN style="color: #9cdcfe;"&gt;name&lt;/SPAN&gt;, &lt;SPAN style="color: #9cdcfe;"&gt;choiceValues&lt;/SPAN&gt; = [&lt;SPAN style="color: #ce9178;"&gt;'no values initialized'&lt;/SPAN&gt;]) {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt; &lt;SPAN style="color: #9cdcfe;"&gt;customProperty&lt;/SPAN&gt; = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ce9178;"&gt;"name"&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt; &lt;SPAN style="color: #9cdcfe;"&gt;name&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ce9178;"&gt;"valueType"&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt; &lt;SPAN style="color: #ce9178;"&gt;"Text"&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ce9178;"&gt;"objectTypes"&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt; [&lt;SPAN style="color: #ce9178;"&gt;"App"&lt;/SPAN&gt;, &lt;SPAN style="color: #ce9178;"&gt;"ContentLibrary"&lt;/SPAN&gt;, &lt;SPAN style="color: #ce9178;"&gt;"DataConnection"&lt;/SPAN&gt;, &lt;SPAN style="color: #ce9178;"&gt;"ReloadTask"&lt;/SPAN&gt;, &lt;SPAN style="color: #ce9178;"&gt;"Stream"&lt;/SPAN&gt;, &lt;SPAN style="color: #ce9178;"&gt;"User"&lt;/SPAN&gt;],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ce9178;"&gt;"choiceValues"&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt; &lt;SPAN style="color: #9cdcfe;"&gt;choiceValues&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt; &lt;SPAN style="color: #9cdcfe;"&gt;result&lt;/SPAN&gt; = &lt;SPAN style="color: #9cdcfe;"&gt;qrs&lt;/SPAN&gt;.&lt;SPAN style="color: #dcdcaa;"&gt;post&lt;/SPAN&gt;(&lt;SPAN style="color: #ce9178;"&gt;'/qrs/CustomPropertyDefinition'&lt;/SPAN&gt;, &lt;SPAN style="color: #569cd6;"&gt;null&lt;/SPAN&gt;, &lt;SPAN style="color: #9cdcfe;"&gt;customProperty&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #4ec9b0;"&gt;console&lt;/SPAN&gt;.&lt;SPAN style="color: #dcdcaa;"&gt;log&lt;/SPAN&gt;(&lt;SPAN style="color: #ce9178;"&gt;'result of create custom property: '&lt;/SPAN&gt;, &lt;SPAN style="color: #9cdcfe;"&gt;result&lt;/SPAN&gt;)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #9cdcfe;"&gt;result&lt;/SPAN&gt;.&lt;SPAN style="color: #9cdcfe;"&gt;name&lt;/SPAN&gt; = &lt;SPAN style="color: #ce9178;"&gt;'UpdatedName'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #569cd6;"&gt;var&lt;/SPAN&gt; &lt;SPAN style="color: #9cdcfe;"&gt;result&lt;/SPAN&gt; = &lt;SPAN style="color: #9cdcfe;"&gt;qrs&lt;/SPAN&gt;.&lt;SPAN style="color: #dcdcaa;"&gt;put&lt;/SPAN&gt;(&lt;SPAN style="color: #ce9178;"&gt;'/qrs/CustomPropertyDefinition/'&lt;/SPAN&gt; + &lt;SPAN style="color: #9cdcfe;"&gt;result&lt;/SPAN&gt;.&lt;SPAN style="color: #9cdcfe;"&gt;id&lt;/SPAN&gt;, &lt;SPAN style="color: #569cd6;"&gt;null&lt;/SPAN&gt;, &lt;SPAN style="color: #9cdcfe;"&gt;result&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #4ec9b0;"&gt;console&lt;/SPAN&gt;.&lt;SPAN style="color: #dcdcaa;"&gt;log&lt;/SPAN&gt;(&lt;SPAN style="color: #ce9178;"&gt;'result after update'&lt;/SPAN&gt;, &lt;SPAN style="color: #9cdcfe;"&gt;result&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: You can find a lot of API documentation in the slide generator on &lt;A href="http://integration.qlik.com/slides"&gt;http://integration.qlik.com/slides&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Sep 2017 13:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018679#M4067</guid>
      <dc:creator>mbj</dc:creator>
      <dc:date>2017-09-10T13:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018680#M4068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Cesar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we fetch User wise assigned custom properties from Qliksense Server using QRS API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can look into this which I have posted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1476455"&gt;Custom Properties for Users using QRS API's&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls Suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balraj Ahlawat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 12:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1018680#M4068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-24T12:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API - updating users custom properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1520741#M9708</link>
      <description>&lt;P&gt;I am getting either a 409 or a 400 exception when I run the following PUT command. I mainly get a "Received error code: 400::The &amp;amp;quot;GetAllByMany&amp;amp;quot; operation failed" error.&lt;/P&gt;&lt;P&gt;What is weird is I get a response with the apps data when I comment out the customProperties attribute. When i add in the customproperties attribute and json, i get the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Put('/app/' + appId,
{

"modifiedDate": lastModifiedDate, 
"modifiedByUserName": "instance////un",
"customProperties": [
{
"modifiedDate": lastModifiedDate,
"modifiedByUserName":  "instance////un",
"value": 'Node C'
}
] 
},
'json'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 21:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-updating-users-custom-properties/m-p/1520741#M9708</guid>
      <dc:creator>bekahbeets</dc:creator>
      <dc:date>2018-12-13T21:32:39Z</dc:date>
    </item>
  </channel>
</rss>

