Viz Multichannel
Version 4.0 | Published January 23, 2019 ©
POST group and page to Channel Pool
Syntax for POST
POST /restapi/[channel_name]/channel_poolExample Request
POST /restapi/MovieChannel/channel_pool/ HTTP/1.1Content-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" /></payload>Example Response
HTTP/1.1 201 CreatedContent-Type: application/vizrt.integrationshub+xml; type=playlistpostreplyContent-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>