ElioteArg

REST API Global Collection creation issues

Discussion created by ElioteArg on Sep 2, 2015
Latest reply on Sep 17, 2018 by lutelewis

We're trying to create global collection models using REST API but only the first request is seen in the explorer tab. The subsequent requests seem to be updating the previously created model instead of creating a new one.

 

The first request is this:

http://10.200.60.175/spectrum/restful/model?landscapeid=0x100000&mtypeid=0x10474&attr=0x1006e&val=GC01

 

The second request is almost the same as the first one, but we only change the name of it:

http://10.200.60.175/spectrum/restful/model?landscapeid=0x100000&mtypeid=0x10474&attr=0x1006e&val=GC02

 

It looks as if One click was not updating the models view  in the Explorer tab, but also after restarting Tomcat, I'm still seeing only one model. Another thing I noted is that the created model's uniquekey attribute is empty.

 

GC01.JPG

 

GC01-attr.JPG

 

 

GC02-attr.JPG

 

GC02-locater.JPG

 

Any idea? I've seen this in Spectrum 9.2 as well as in Spectrum 10.

Outcomes