setLayoutProperties


Description

Sets one or more properties of a rundown layout

Example request

https://www.rundowncreator.com/channel4news/API.php
     ?APIKey=edharken
     &APIToken=HNe2ADG0nBTiC8Q8WiVfsxeG5ip51A
     &Action=setLayoutProperties
     &LayoutID=2
     &Columns=1,2,3,4,5,6,7,8,9,10,EstimatedDuration,ActualDuration,FrontTime,BackTime
     &Sizes=50,50,63,50,54,50,132,50,30,50,61,59,90,90

Example response

{
    "Success": 1
}

Required parameters

LayoutID integer the unique ID of the layout to change

Optional parameters

Name string the layout's name
Type string the 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 appear in the layout. Possible values include ColumnID's, or keywords for special columns like StorySlug, EstimatedDuration, ActualDuration, FrontTime, BackTime, or Objects. Note: when updating Columns, you must also update Sizes too
Sizes string a comma-delimited list of widths (in pixels) for the columns in Columns. Note: when updating Sizes, you must also update Columns too

Returns

Success boolean true if successful, false if unsuccessful

Notes

Requires permissions of an administrator or higher when modifying a group layout.