Applies a template to an object.
Note: The object type of the template specified by the basedOnId parameter must be the same as the object type of the object specified by the objectId paramter.
Parameters
-
objectId
Type: System.Int32
Object ID of the object.
-
basedOnId
Type: System.Int32
Object ID of the template.
Returns
Type: Authorit.API.Dto.ObjectBrief
An instance of the ObjectBrief class that contains information about the object after applying the template.