Copy objects

It is possible copy any object of any resource with the following endpoint:

It will create a new object in the data model, copying also the sub-objects, and will return it as response.

 

It is possible override attributes passing a JSON in the body (passing an attribute with null value will have no effect. Only simple types in the first level of the JSON will be used to override).

 

It is possible copy multiple objects, of a give resource, sending as URL parameters the list of keys:

it will create a new object for all the specified keys and returns am array of the created objects.