Topic
  • No replies
groy
groy
1 Post

Pinned topic Load assets using Open IGC REST Apis

‏2017-05-02T13:18:32Z | igc open

We created come custom bundles in IGC and when we try to load assets we get the following error:

{
      "code": "CDIGC1041E",
      "message": "Class with code \"$BusinessApplication-BusinessApplication\" does not exist. Asset ID=\"a1\".",
      "explanation": "Class codes must conform to the REST codes for classes, for the given REST version.",
      "userResponse": "Make corrections to the XML or the code that produces it, and then try again." }

 

We've used the DataMass as an example.

 

The XML we are trying to load is

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<docxmlns="http://www.ibm.com/iis/flow-doc">

<assets>

<assetclass="$BusinessApplication-BusinessApplication"ID="a1"repr="Application Suite">

<attributename="name"value="Application Suite"/>

</asset>

</assets>

<importActionpartialAssetIDs="a1"/>

</doc>

 

The asset descriptor has a class called BusinessApplication

 

Did anyone encounter this error and what was the solution to correct it.?

Updated on 2017-05-02T13:21:48Z at 2017-05-02T13:21:48Z by groy