createLayout
Description
Creates a new rundown layout
Example request
https://www.rundowncreator.com/channel4news/API.php ?APIKey=edharken &APIToken=HNe2ADG0nBTiC8Q8WiVfsxeG5ip51A &Action=createLayout &Name=Ed's Layout &Type=Personal &Columns=StorySlug,1,2,3,4,5,6,7,8,9,10,EstimatedDuration,ActualDuration,FrontTime,BackTime &Sizes=220,50,50,63,50,54,50,132,50,30,50,61,59,90,90
Example response
{ "LayoutID": 2 }
Required parameters
Name | string | the new layout's name |
Type | string | the new layout's type. Possible values include Group (for a group layout), or Personal (for a personal layout) |
Columns | string | a comma-delimited list of columns, in the order in which they should appear in the new layout. Possible values include ColumnID's, or keywords for special columns like StorySlug, EstimatedDuration, ActualDuration, FrontTime, BackTime, or Objects |
Sizes | string | a comma-delimited list of widths (in pixels) for the columns in Columns |
Optional parameters
None
Returns
LayoutID | integer | the new layout's unique ID |
Notes
Requires permissions of an administrator or higher when creating a group layout.