<?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 workspace Items in Fusion Manage Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8032900#M2576</link>
    <description>&lt;P&gt;For v1 Rest API it will all the items within that particular workspace&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://previewhummingbirdinnovations.autodeskplm360.net/api/rest/v1/workspaces/2/items" target="_blank"&gt;https://previewhummingbirdinnovations.autodeskplm360.net/api/rest/v1/workspaces/2/items&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2018 16:48:50 GMT</pubDate>
    <dc:creator>nguyentru</dc:creator>
    <dc:date>2018-05-29T16:48:50Z</dc:date>
    <item>
      <title>REST API workspace Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/7994004#M2568</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way &amp;nbsp;to extract all dmsid &amp;nbsp;for the workspace Items ?&lt;/P&gt;&lt;P&gt;I was trying to use &lt;A href="https://mytenant.autodeskplm360.net/api/rest/v1/workspaces/{workspace_id}/items" target="_blank"&gt;https://mytenant.autodeskplm360.net/api/rest/v1/workspaces/{workspace_id}/items&lt;/A&gt; to get dbms id to&amp;nbsp;&lt;/P&gt;&lt;P&gt;parse items individually using &amp;nbsp;&lt;A href="https://mytenant.autodeskplm360.net/api/rest/v1/workspaces/" target="_blank"&gt;https://mytenant.autodeskplm360.net/api/rest/v1/workspaces/&lt;/A&gt;&lt;SPAN&gt;{workspace_id}&lt;/SPAN&gt;/items/{dbms_id}. However, I am getting only 10 dbms ids using &amp;nbsp;&lt;SPAN&gt;&lt;A href="https://mytenant.autodeskplm360.net/api/rest/v1/workspaces/{workspace_id}/items&amp;nbsp;" target="_blank"&gt;https://mytenant.autodeskplm360.net/api/rest/v1/workspaces/{workspace_id}/items&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;is there any rest api's URL to fetch all dmsids with workspace id ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Prudhvi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 21:27:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/7994004#M2568</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-10T21:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: REST API workspace Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/7994103#M2569</link>
      <description>&lt;P&gt;API v3 and v2 will return more but contain much less detail which is probably what you want if you're going to step through the response JSON and make individual calls after that. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;API v3 (slightly slower but smaller response file)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;GET /api/v3/workspaces/{wsId}/items&lt;FONT color="#0000FF"&gt;?limit=1000000&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;API v2 (&lt;FONT color="#FF0000"&gt;max limit 5,000&lt;/FONT&gt;. slightly faster but ~50% bigger response file)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;GET /api/v2/workspaces/{wsId}/items&lt;FONT color="#0000FF"&gt;?page-size=5000&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 22:41:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/7994103#M2569</guid>
      <dc:creator>john.denner</dc:creator>
      <dc:date>2018-05-10T22:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: REST API workspace Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/7995575#M2570</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the prompt reply to my query.&amp;nbsp;&lt;/P&gt;&lt;P&gt;While using API V2 I am getting JSON response with some dmsid items using "items?page-size=5000" However, I still have more items in the workspace and I understand that page size should be between 1 and 5000.&lt;/P&gt;&lt;P&gt;While using API V3 I am not getting any items using&amp;nbsp;api/v3/workspaces/{Workspace_ID}/items?limit=1000000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;instead of that I am getting the below response for&amp;nbsp;&lt;A href="https://mytenant.autodeskplm360.net/api/v3/workspaces/{workspaceid}/items?limit=1000000" target="_blank"&gt;https://mytenant.autodeskplm360.net/api/v3/workspaces/{workspaceid}/items?limit=1000000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "__self__" : "/api/v3/workspaces/{id}/items?offset=0&amp;amp;limit=1000000",
  "offset" : 0,
  "limit" : 1000000,
  "totalCount" : 0,
  "first" : {
    "link" : "/api/v3/workspaces/{id}/items?offset=0&amp;amp;limit=1000000",
    "title" : "First",
    "deleted" : false,
    "count" : 1000000
  },
  "items" : [ ]
}&lt;/PRE&gt;&lt;P&gt;is that response is correct ? if not, Do i need to change URL ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;also I am using PL/SQL as REST API to parse XML so, is there any rest URL that f&lt;SPAN&gt;etch all dmsids with workspace id in XML format ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 13:53:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/7995575#M2570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-11T13:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: REST API workspace Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/7995703#M2571</link>
      <description>&lt;P&gt;Might be a silly question but you are passing a real workspace ID yeah? So the request was successful but the response is empty so possibly the account making the request doesn't have access or you accidentally used the wrong workspace ID? I did this recently and felt really dumb afterwards. &lt;img id="smileyembarrassed" class="emoticon emoticon-smileyembarrassed" src="https://forums.autodesk.com/i/smilies/16x16_smiley-embarrassed.png" alt="Smiley Embarassed" title="Smiley Embarassed" /&gt; But that maybe doesn't explain why v1 and v2 return results if everything is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just tested this again with Postman and it worked, which I know isn't very helpful to you but I wanted to make sure the syntax was good. Are you familiar with Postman?&amp;nbsp;&lt;A href="https://www.getpostman.com/apps" target="_blank"&gt;https://www.getpostman.com/apps&lt;/A&gt; It is a great program to try these things out. I do A LOT of trial and error and Postman makes it easy to try things out to get your requests formatted correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the XML part I think most all the endpoints return JSON. There are some that return XML and others that return JSON or XML. So my first attempt would be to change the header property for "Accept" to application/xml and another trick is to append the file type of what you want. This one is very specific to some endpoints and I can't remember which ones do it. I think the search and report endpoints can use that. I wish I could be more helpful in that area. But I'm sure a Autodesk employee can step in and provide more info.&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 14:31:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/7995703#M2571</guid>
      <dc:creator>john.denner</dc:creator>
      <dc:date>2018-05-11T14:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: REST API workspace Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/7995753#M2572</link>
      <description>Greetings,&lt;BR /&gt;&lt;BR /&gt;1. The /v1/ api supports both xml and json formats.&lt;BR /&gt;2. The /v2/ is an unsupported api and is on disablement path. &lt;BR /&gt;3. The /v3/ api powers the modern ui supporting json-only format; it is pending documentation release. &lt;BR /&gt;&lt;BR /&gt;Having said the above, to define format for request payloads, add to api header:&lt;BR /&gt;Content-Type = application/json | application/xml&lt;BR /&gt;&lt;BR /&gt;To define format of response payloads, add to header: &lt;BR /&gt;Accept = application/json | application/xml&lt;BR /&gt;&lt;BR /&gt;You can mix eg. send json yet receive xml, to update some non-api reachable areas/fields in FLC via scripting parsing that json format easily, or vice versa, again evaluate your need. I found it to be a good practice to always specify payload type for both request and response, even for endpoints with no outlined payloads just to to be resilient for future in case it does start returning something, i would know the type and how to process it after capture it. Not expected, but still.. get into habit to use these two headers ))&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Martin&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 May 2018 14:51:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/7995753#M2572</guid>
      <dc:creator>gasevsm</dc:creator>
      <dc:date>2018-05-11T14:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: REST API workspace Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8004254#M2573</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can able to send the request in json and receive xml response. &amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I am trying use &amp;nbsp;using V1 to fetch dmsids with item id &amp;nbsp;in the workspace&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="pln"&gt;https&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;:&lt;/SPAN&gt;&lt;SPAN class="com"&gt;//mytenant.autodeskplm360.net/api/rest/v1/workspaces/{worspace id}/items?page=2&amp;amp;size=1&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Now, in that response how should I identify start dmsid and end dmsid ?&lt;/P&gt;&lt;P&gt;also I am getting only 10 dmsid and I have more how will I get remaining dmsid's in that workspace?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 21:40:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8004254#M2573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-15T21:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: REST API workspace Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8032793#M2574</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://previewhummingbirdinnovations.autodeskplm360.net/api/rest/v1/workspaces/2/items" target="_blank"&gt;https://previewhummingbirdinnovations.autodeskplm360.net/api/rest/v1/workspaces/2/items&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is all you have to type in order to get all the items in the workspaces.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps you get closer to your answer.&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;Trung Nguyen&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 16:25:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8032793#M2574</guid>
      <dc:creator>nguyentru</dc:creator>
      <dc:date>2018-05-29T16:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: REST API workspace Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8032817#M2575</link>
      <description>Sorry but it's not. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; It only returns 10 records. That's the whole issue from the original post. I can replicate this with every API call using the items endpoint.</description>
      <pubDate>Tue, 29 May 2018 16:33:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8032817#M2575</guid>
      <dc:creator>john.denner</dc:creator>
      <dc:date>2018-05-29T16:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: REST API workspace Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8032900#M2576</link>
      <description>&lt;P&gt;For v1 Rest API it will all the items within that particular workspace&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://previewhummingbirdinnovations.autodeskplm360.net/api/rest/v1/workspaces/2/items" target="_blank"&gt;https://previewhummingbirdinnovations.autodeskplm360.net/api/rest/v1/workspaces/2/items&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 16:48:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8032900#M2576</guid>
      <dc:creator>nguyentru</dc:creator>
      <dc:date>2018-05-29T16:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: REST API workspace Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8032907#M2577</link>
      <description>&lt;P&gt;The full URL is:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://adskmandatt.autodeskplm360.net/api/rest/v1/workspaces/57/items?page=1&amp;amp;size=1000&amp;amp;filterDeleted=true&amp;amp;includeRelationships=false" target="_blank"&gt;https://adskmandatt.autodeskplm360.net/api/rest/v1/workspaces/57/items?page=1&amp;amp;size=1000&amp;amp;filterDeleted=true&amp;amp;includeRelationships=false&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see this in the XML WADL for v1.&amp;nbsp; So adding size = 1000 should help (but it takes a while to come back).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like the items are sorted by dmsid.&amp;nbsp; So you would need to choose a chunk size that works and then iterate until the number of records returned is less than the chunk size.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 16:51:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8032907#M2577</guid>
      <dc:creator>tony.mandatori</dc:creator>
      <dc:date>2018-05-29T16:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: REST API workspace Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8032916#M2578</link>
      <description>&lt;P&gt;Could you please provide a screenshot or something that shows the list.items array returned from the request has more than 10 elements?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018-05-29_9-52-14.jpg" style="width: 351px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/505973i3FCFAD4F16ACFC91/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-05-29_9-52-14.jpg" alt="2018-05-29_9-52-14.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 16:54:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8032916#M2578</guid>
      <dc:creator>john.denner</dc:creator>
      <dc:date>2018-05-29T16:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: REST API workspace Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8032934#M2579</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I stand corrected.&amp;nbsp; Toni's has the correct statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://previewhummingbirdinnovations.autodeskplm360.net/api/rest/v1/workspaces/2/items?page1&amp;amp;size=100&amp;amp;filterDelete" target="_blank"&gt;https://previewhummingbirdinnovations.autodeskplm360.net/api/rest/v1/workspaces/2/items?page1&amp;amp;size=100&amp;amp;filterDelete&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I verified both in postman and URL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 17:00:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8032934#M2579</guid>
      <dc:creator>nguyentru</dc:creator>
      <dc:date>2018-05-29T17:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: REST API workspace Items</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8033020#M2580</link>
      <description>&lt;P&gt;Here is what I see&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018-05-29 13_26_35-Postman.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/505986i4BE65E6C1C12770B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-05-29 13_26_35-Postman.png" alt="2018-05-29 13_26_35-Postman.png" /&gt;&lt;/span&gt;Note that I have the entire V1 collection in Postman ... because I imported the WADL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It told me the correct syntax to avoid the guess work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this help?&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 17:28:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/rest-api-workspace-items/m-p/8033020#M2580</guid>
      <dc:creator>tony.mandatori</dc:creator>
      <dc:date>2018-05-29T17:28:09Z</dc:date>
    </item>
  </channel>
</rss>

