object templatescreen.create(object/array templateScreens)
This method allows to create new template screens.
(object/array) Template screens to create.
Additionally to the standard template screen properties, the method accepts the following parameters.
(object) Returns an object containing the IDs of the created template screens under the
screenids property. The order of the returned IDs matches the order of the passed template screens.
Create a template screen named “Graphs” with 2 rows and 3 columns and add a graph to the upper-left cell.
CTemplateScreen::create() in ui/include/classes/api/services/CTemplateScreen.php.