Viz Channel Branding User Guide

Version 5.2 | Published June 05, 2024 ©

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/Test/channel_pool</title>
<description>Channel Pool</description>
<name>channel_pool</name>
<ischannelpool>true</ischannelpool>
<link href="http://localhost:9990/restapi/Test/channel_pool" rel="self" type="application/vizrt.integrationshub+xml; type=playlistpostreply" />
<group>
<title>Group info for http://localhost:9990/restapi/Test/channel_pool/group1</title>
<description>group 1</description>
<name>group1</name>
<link href="http://localhost:9990/restapi/Test/channel_pool/group1" rel="self" type="application/vizrt.integrationshub+xml; type=group" />
<begin_at>2014-06-13T01:00:00.000Z</begin_at>
<duration>3600</duration>
<event_id>12</event_id>
<trigger_id />
<attributes>
<attribute name="adjust_begin_at_after_resume">
<value>yes</value>
</attribute>
<attribute name="begin_at">
<value>2014-06-13T01:00:00.000Z</value>
</attribute>
<attribute name="description">
<value>group 1</value>
</attribute>
<attribute name="duration">
<value>3600</value>
</attribute>
<attribute name="event_created_by">
<value>schedule</value>
</attribute>
<attribute name="infoIntegrationsHub">
<value>[A:16:22:14]</value>
</attribute>
<attribute name="instance">
<value>composite_Test</value>
</attribute>
<attribute name="name">
<value>group1</value>
</attribute>
<attribute name="event_id">
<value>12</value>
</attribute>
</attributes>
</group>
<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="showautodescription">
<value>false</value>
</attribute>
     <attribute name="take_duration">
<value>50</value>
</attribute>
<attribute name="name">
<value>page1</value>
</attribute>
</attributes>
<fields />
</page>
</playlistpostreply>