We want to build and update Item BOMs (Current Materials) in Cloud Suite Industrial using REST. We are able to create items but can't find what methods to use to create the BOM structure. Has anyone done this with CSI or is there a resource for what methods exist for the various object types?
Example of successful new item:
POST https://<...removed...>/IDORequestService/MGRestService.svc/xml/SLItems/additems HTTP/1.1
Accept-Encoding: gzip,deflate
authorization: <...removed...>
ConfigGroup: <...removed...>
Configuration: <...removed...>
Content-Type: application/xml
Content-Length: 956
Host: <...removed...>
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
<?xml version="1.0"?>
<ArrayOfIDOUpdateItem xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">www.w3.org/.../XMLSchema"</a> xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">www.w3.org/.../XMLSchema-instance"</a> xmlns="<a href="http://www.infor.com">http://www.infor.com"></a>
<IDOUpdateItem>
<Action>Insert</Action>
<ItemId>PBT=[Items]</ItemId>
<Properties>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>Item</Name>
<Value>0-APITEST-03</Value>
</UpdateProperty>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>Description</Name>
<Value>Add using RESTful Web Services API</Value>
</UpdateProperty>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>ProductCode</Name>
<Value>PPRT</Value>
</UpdateProperty>
</Properties>
</IDOUpdateItem>
</ArrayOfIDOUpdateItem>
We'd like something similar to add Item BOM structures (Current Materials). Any help in where to look is greatly appreciated.
</code><code>Thank you in advance!