Viz Channel Branding User Guide

Version 5.0 | Published July 10, 2023 ©

POST Group and Page to Channel Pool

Syntax for POST

POST /restapi/[channel_name]/channel_pool

Example Request

POST /restapi/MovieChannel/channel_pool/ HTTP/1.1
Content-Type: application/vizrt.integrationshub+xml; type=payload
<payload>
<page name="page1" take_duration="50" page="basic" />
<group name="group1" event_id="1" description="group 1" duration="3600" begin_at="2014-06-13T01:00:00.000Z />
</payload>

Example Response

HTTP/1.1 201 Created
Content-Type: application/vizrt.integrationshub+xml; type=playlistpostreply
Content-Location: http://localhost:9990/restapi/MovieChannel/channel_pool
<playlistpostreply xmlns="http://www.vizrt.com/integrationshub">
<title>Post result info to http://localhost:9990/restapi/MovieChannel/channel_pool</title>
<description>Channel Pool</description>
<name>channel_pool</name>
<ischannelpool>true</ischannelpool>
<link href="http://localhost:9990/restapi/MovieChannel/channel_pool" rel="self" type="application/vizrt.integrationshub+xml; type=playlistpostreply" />
<page>
<title>Page info for http://localhost:9990/restapi/MovieChannel/channel_pool/page1</title>
<description>My Page</description>
<name>page1</name>
<link href="http://localhost:9990/restapi/MovieChannel/channel_pool/page1" rel="self" type="application/vizrt.integrationshub+xml; type=page" />
<timecode />
<take_duration>50</take_duration>
<page>basic</page>
<attributes>
<attribute name="description">
<value>My Page</value>
</attribute>
<attribute name="event_created_by">
<value>schedule</value>
</attribute>
<attribute name="page">
<value>basic</value>
</attribute>
<attribute name="take_duration">
<value>50</value>
</attribute>
<attribute name="name">
<value>page1</value>
</attribute>
</attributes>
<fields />
</page>
</playlistpostreply>