Re: inventroy.create returns null. Mo still created in inven


Originally posted by eickler on 2012-10-15 09:38:57

Hi there,

in C2, Cumulocity always returned the object that was created. That resulted in some traffic overhead, so it was changed for C2.1 and replaced by an option. The object is created, but not returned unless it is explicitly requested to be returned.

However, it seems that the documentation and example is incorrect. It should probably also be a bit smarter. I have created a bug report and will assign a fix to one of the next sprints.

Have more questions? Submit a request