object application.massadd(object parameters)
This method allows to simultaneously add multiple items to the given applications.
This method is only available to Admin and Super admin user types. Permissions to call the method can be revoked in user role settings. See User roles for more information.
(object) Parameters containing the IDs of the applications to update and the items to add to the applications.
The method accepts the following parameters.
|array/object||Applications to be updated.
The applications must have the
|items||array/object||Items to add to the given applications.
The items must have the
(object) Returns an object containing the IDs of the updated applications under the
Add the given items to two applications.
CApplication::massAdd() in ui/include/classes/api/services/CApplication.php.