<?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: Unable to add BOM Item using REST API, get response - 500 Internal server er in Fusion Manage Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5978221#M5348</link>
    <description>&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think that is the problem. Just to be sure I removed pretty much all columns and I don't think that any of the remaining fields are required. The testrun resulted in the same error 500.&lt;/P&gt;&lt;P&gt;I have attached an image showing the BOM view that is used. Also, I don't have any custom BOM fields in use for the Workspace BOM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Krister&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jan 2016 19:01:43 GMT</pubDate>
    <dc:creator>krister.sjoberg</dc:creator>
    <dc:date>2016-01-07T19:01:43Z</dc:date>
    <item>
      <title>Unable to add BOM Item using REST API, get response - 500 Internal server error</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5978083#M5346</link>
      <description>&lt;P&gt;I in the progress of creating an application in .NET that will create Items and Item BOMs in PLM360 using the REST v1 API. I have succeeded in creating new and updating existing the Item's and also to handle the Lifecycle transitions of the Item's. When I came to the stage where I started implementing the functionallity for handling the BOM I ran into some problems right away. Using a small testapplication I create a new Assembly Item and a new Part Item and release both of them, so far no problems. When I then try to add the Part to Assembly Item's BOM I get a 500 Internal Server Error in response everytime.&lt;BR /&gt;The request I send to the server looks as follws:&lt;BR /&gt;&lt;BR /&gt;Request Header:&lt;BR /&gt;=====================================&lt;BR /&gt;POST https://[XXXXXXXX].autodeskplm360.net/api/rest/v1/workspaces/57/items/8352/boms.xml HTTP/1.1&lt;BR /&gt;User-Agent: System.Net.HttpWebRequest (PLM.WebServices; .NET 4.0.30319.42000; TestApp)&lt;BR /&gt;Accept: application/xml&lt;BR /&gt;Content-Type: application/xml&lt;BR /&gt;Host: XXXXXXXX.autodeskplm360.net&lt;BR /&gt;Cookie: JSESSIONID=849577F7BC0573CB2888FC4215E157AC; PLM360LBR=b3JpZ2luLXByLWVudjAxLXBsbXdlYjAzLmF1dG9kZXNrcGxtMzYwLm5ldA==&lt;BR /&gt;Content-Length: 256&lt;BR /&gt;Expect: 100-continue&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Request Body&lt;BR /&gt;================================================================&lt;BR /&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;BR /&gt;&amp;lt;boms xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance&amp;quot;" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance"&lt;/A&gt; xmlns:xsd="&lt;A href="https://forums.autodesk.com/" target="_blank"&gt;http://www.w3.org/2001/XMLSchema"&amp;gt;&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bom&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;bomDmsID&amp;gt;8354&amp;lt;/bomDmsID&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;itemNumber&amp;gt;1&amp;lt;/itemNumber&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;itemQuantity&amp;gt;10&amp;lt;/itemQuantity&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bom&amp;gt;&lt;BR /&gt;&amp;lt;/boms&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I can mention that I have tried using JSON instead of XML, but the outcome is the same, 500 Internal Server Error!!&lt;BR /&gt;I have also tried to change the request data in Fiddler but no luck there either, still the same result!&lt;BR /&gt;&lt;BR /&gt;This is the only thing that is not working right now, reading workspace data, creating/updating Items etc.. is working perfectly!&lt;BR /&gt;&lt;BR /&gt;Does anyone have an idea of what I am doing wrong or what can cause this behavior?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Krister&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 17:46:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5978083#M5346</guid>
      <dc:creator>krister.sjoberg</dc:creator>
      <dc:date>2016-01-07T17:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add BOM Item using REST API, get response - 500 Internal server er</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5978110#M5347</link>
      <description>&lt;P&gt;hi, let's start with this please: do you have required fields on the BOM tab? if so, my recommendation is to follow request example 2 on this page where it specifies the required fields and values. &lt;A href="http://help.autodesk.com/view/PLM/ENU/?guid=GUID-A9F7CB28-1101-4656-A39D-3A62F3ACDC13" target="_blank"&gt;http://help.autodesk.com/view/PLM/ENU/?guid=GUID-A9F7CB28-1101-4656-A39D-3A62F3ACDC13&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;hope this helps,&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 18:01:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5978110#M5347</guid>
      <dc:creator>gasevsm</dc:creator>
      <dc:date>2016-01-07T18:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add BOM Item using REST API, get response - 500 Internal server er</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5978221#M5348</link>
      <description>&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think that is the problem. Just to be sure I removed pretty much all columns and I don't think that any of the remaining fields are required. The testrun resulted in the same error 500.&lt;/P&gt;&lt;P&gt;I have attached an image showing the BOM view that is used. Also, I don't have any custom BOM fields in use for the Workspace BOM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Krister&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 19:01:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5978221#M5348</guid>
      <dc:creator>krister.sjoberg</dc:creator>
      <dc:date>2016-01-07T19:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add BOM Item using REST API, get response - 500 Internal server er</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5978256#M5349</link>
      <description>Thx for the pic. This helped.&lt;BR /&gt;Do you see that unassigned refdes field on the left?  Please edit it and remove the UNIQUE validator. Save and try your API call again. HTH,&lt;BR /&gt;--&lt;BR /&gt;Martin Gasevski | Product Manager | Autodesk PLM 360</description>
      <pubDate>Thu, 07 Jan 2016 19:21:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5978256#M5349</guid>
      <dc:creator>gasevsm</dc:creator>
      <dc:date>2016-01-07T19:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add BOM Item using REST API, get response - 500 Internal server er</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5978324#M5350</link>
      <description>&lt;P&gt;Thanks Martin!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This solved the problem!. Why is it that unassigned field can effects the POST request for BOM? I could understand it if where assigned and used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, thanks for the quick help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Krister&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 19:48:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5978324#M5350</guid>
      <dc:creator>krister.sjoberg</dc:creator>
      <dc:date>2016-01-07T19:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add BOM Item using REST API, get response - 500 Internal server er</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5978405#M5351</link>
      <description>&lt;P&gt;ah, its not really unnasigned&amp;nbsp;for&amp;nbsp;bom tab, not for tab's&amp;nbsp;edit mode. the unnasigned/assigned depiction&amp;nbsp;works well for itemdetails - fields are truly unnassigned. for this user interface of PLM 360,&amp;nbsp;the bom views let you&amp;nbsp;configure different&amp;nbsp;fields you wish shown in view mode to various consumers of that bom.&amp;nbsp;anyhow,&amp;nbsp;immediately&amp;nbsp;recognized that ootb "Reference Designator"&amp;nbsp;field&amp;nbsp;and am aware it has&amp;nbsp;a unique validation ootb.&amp;nbsp;The UI isn't affected by this issue, but we are aware that&amp;nbsp;this validation is conflicting&amp;nbsp;with ability to add components to BOM tab via the API.&amp;nbsp;While we're trying to address the problem, a simple workaround is to remove unique validator from it. Sorry for caused inconvenience. hope you are good now.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 20:23:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5978405#M5351</guid>
      <dc:creator>gasevsm</dc:creator>
      <dc:date>2016-01-07T20:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add BOM Item using REST API, get response - 500 Internal server er</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5981967#M5352</link>
      <description>&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an additional question regarding add BOM item using the API and custom BOM Fields. As I understand it from the API help you should be able to add data to custom BOM Fields using the v1 API, right? When I try this, no data is enterd in that custom Field. The BOM is created correctly with with the correct quantity etc..&lt;/P&gt;&lt;P&gt;The custom Field has no required value, in fact, no validati at all, as you can se in the second image below. At the bottom I have inserted a short snippet of the XML input for the upload of the BOM. For thees &amp;lt;fields&amp;gt;..&amp;lt;/fileds&amp;gt; section I have tried to diffrent approches with the &amp;lt;entry&amp;gt;...&amp;lt;/entry&amp;gt; tag and without with the same result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what I'm doing wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The BOM view looks like this, where the Field "BOM Test" is the custom Field&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/210697i41AF2D2909E4D148/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="BOMView.png" title="BOMView.png" width="744" height="368" align="left" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the Field definition...&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/210698iFFB23CACB81F97DF/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Field.png" title="Field.png" width="583" height="535" align="left" /&gt;&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;&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;&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;&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;&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;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The XML input looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;boms xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance&amp;quot;" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance"&lt;/A&gt; xmlns:xsd="&lt;A href="https://forums.autodesk.com/" target="_blank"&gt;http://www.w3.org/2001/XMLSchema"&amp;gt;&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bom&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;bomDmsID&amp;gt;822&amp;lt;/bomDmsID&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;itemQuantity&amp;gt;2&amp;lt;/itemQuantity&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;isPinned&amp;gt;false&amp;lt;/isPinned&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;fields&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;entry&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;name&amp;gt;BOM_TEST&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;vaule&amp;gt;Rad 1&amp;lt;/vaule&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/entry&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/fields&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/bom&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;bom&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;bomDmsID&amp;gt;824&amp;lt;/bomDmsID&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;itemQuantity&amp;gt;2&amp;lt;/itemQuantity&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;isPinned&amp;gt;false&amp;lt;/isPinned&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;fields&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;entry&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;name&amp;gt;BOM_TEST&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;vaule&amp;gt;Rad 2&amp;lt;/vaule&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/entry&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/fields&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bom&amp;gt;&lt;BR /&gt;&amp;lt;/boms&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Krister&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2016 07:32:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5981967#M5352</guid>
      <dc:creator>krister.sjoberg</dc:creator>
      <dc:date>2016-01-11T07:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add BOM Item using REST API, get response - 500 Internal server er</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5982528#M5353</link>
      <description>Hi, Let's correct the &lt;VAULE&gt; typo to &lt;VALUE&gt; and reevaluate if call is still not succeeding. Kindly post results please once retest. Thanks,&lt;BR /&gt;--&lt;BR /&gt;Martin Gasevski | Product Manager | Autodesk PLM 360&lt;/VALUE&gt;&lt;/VAULE&gt;</description>
      <pubDate>Mon, 11 Jan 2016 14:22:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/5982528#M5353</guid>
      <dc:creator>gasevsm</dc:creator>
      <dc:date>2016-01-11T14:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add BOM Item using REST API, get response - 500 Internal server er</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/9075212#M5354</link>
      <description>&lt;P&gt;same problem how to solve this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 07:20:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/unable-to-add-bom-item-using-rest-api-get-response-500-internal/m-p/9075212#M5354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-09T07:20:06Z</dc:date>
    </item>
  </channel>
</rss>

