<?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: Unity REST API GET users - how to select fields instead of getting in Management</title>
    <link>https://community.cisco.com/t5/management/unity-rest-api-get-users-how-to-select-fields-instead-of-getting/m-p/4592779#M3876</link>
    <description>&lt;P&gt;As far as I know, the REST API does not support restricting results by specific fields.&lt;/P&gt;&lt;P&gt;It should be possible to do more specific things by accessing the Unity database and doing SQL stuff, which is semi-supported...lots of resources (some out of date) here:&amp;nbsp;&lt;A href="http://www.ciscounitytools.com" target="_blank"&gt;www.ciscounitytools.com&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2022 17:22:27 GMT</pubDate>
    <dc:creator>dstaudt</dc:creator>
    <dc:date>2022-04-14T17:22:27Z</dc:date>
    <item>
      <title>Unity REST API GET users - how to select fields instead of getting all</title>
      <link>https://community.cisco.com/t5/management/unity-rest-api-get-users-how-to-select-fields-instead-of-getting/m-p/4590512#M3873</link>
      <description>&lt;P&gt;I'm doing a REST GET on Unity 11.5 with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GET &lt;A href="https://{ip" target="_blank" rel="noopener"&gt;https://{ip&lt;/A&gt;&amp;nbsp;address}/vmrest/users&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This gives me all 8000 users and every field for each user.&amp;nbsp; I have shortened the number of users returned with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GET&amp;nbsp;&lt;A href="https://{ip" target="_blank" rel="noopener"&gt;https://{ip&lt;/A&gt;&amp;nbsp;address}/vmrest/users?rowsPerPage=100&amp;amp;pageNumber=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next I'd like to reduce the fields to just the 8 that I need.&amp;nbsp; I'm testing with SoapUI with the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GET&amp;nbsp;&lt;A href="https://{ip" target="_blank" rel="noopener"&gt;https://{ip&lt;/A&gt;&amp;nbsp;address}/vmrest/users?fields=OjbectId,Alias&amp;amp;rowsPerPage=100&amp;amp;pageNumber=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however, I get the same result - still all the fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do this on Unity?&amp;nbsp; Thanks so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 20:18:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/unity-rest-api-get-users-how-to-select-fields-instead-of-getting/m-p/4590512#M3873</guid>
      <dc:creator>Mark Dugas</dc:creator>
      <dc:date>2022-04-11T20:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unity REST API GET users - how to select fields instead of getting</title>
      <link>https://community.cisco.com/t5/management/unity-rest-api-get-users-how-to-select-fields-instead-of-getting/m-p/4592779#M3876</link>
      <description>&lt;P&gt;As far as I know, the REST API does not support restricting results by specific fields.&lt;/P&gt;&lt;P&gt;It should be possible to do more specific things by accessing the Unity database and doing SQL stuff, which is semi-supported...lots of resources (some out of date) here:&amp;nbsp;&lt;A href="http://www.ciscounitytools.com" target="_blank"&gt;www.ciscounitytools.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 17:22:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/unity-rest-api-get-users-how-to-select-fields-instead-of-getting/m-p/4592779#M3876</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2022-04-14T17:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unity REST API GET users - how to select fields instead of getting</title>
      <link>https://community.cisco.com/t5/management/unity-rest-api-get-users-how-to-select-fields-instead-of-getting/m-p/4604683#M3879</link>
      <description>&lt;P&gt;What fields were you looking to display on exactly?&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 20:04:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/unity-rest-api-get-users-how-to-select-fields-instead-of-getting/m-p/4604683#M3879</guid>
      <dc:creator>JasunKAR</dc:creator>
      <dc:date>2022-05-04T20:04:36Z</dc:date>
    </item>
  </channel>
</rss>

