Viz Channel Branding User Guide
Version 5.2 | Published June 05, 2024 ©
PUT Page Content from a Secondary Event under a Primary Event in Playlist (Version 2.0)
Update page content of a secondary event of type page.
Page field values are adjustable (empty value allowed), but the name of the field must remain unchanged. The full list of page fields needs to be present in the request, as page fields can't be added or deleted.
Syntax
PUT /api/channels/[channel]/playlists/[playlist]/primaryevents/[primary_event]/secondaryevents/[secondary_event]/pagecontent
Request
PUT /api/channels/test/playlists/continuous/primaryevents/primary_event_1/secondaryevents/secondary_event_1/pagecontent HTTP/1.1
Content-Type: application/vizrt.integrationshubv2+xml; type=pagecontent
<
inthub
:pageContent
xmlns:xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:inthub
=
"http://www.vizrt.com/integrationshub"
>
<
inthub
:pageField
name
=
"01LT"
>The Smashing Pumpkins (HD)</
inthub
:pageField>
<
inthub
:pageField
name
=
"02LT"
>Updated song title</
inthub
:pageField>
</
inthub
:pageContent>
Response
HTTP/1.1 200 OK
Content-Type: application/vizrt.integrationshubv2+xml; type=pagecontent
<
inthub
:pageContent
xmlns:xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:inthub
=
"http://www.vizrt.com/integrationshub"
>
<
inthub
:refLink
rel
=
"self"
type
=
"application/vizrt.integrationshubv2+xml; type=pagecontent"
href
=
"http://127.0.0.1:9991/api/channels/test/playlists/continuous/primaryevents/primary_event_1/secondaryevents/secondary_event_1/pagecontent"
/>
<
inthub
:refLink
rel
=
"edit"
type
=
"application/vizrt.integrationshubv2+xml; type=pagecontent"
href
=
"http://127.0.0.1:9991/api/channels/test/playlists/continuous/primaryevents/primary_event_1/secondaryevents/secondary_event_1/pagecontent"
/>
<
inthub
:pageField
name
=
"01LT"
>The Smashing Pumpkins (HD)</
inthub
:pageField>
<
inthub
:pageField
name
=
"02LT"
>Updated song title</
inthub
:pageField>
</
inthub
:pageContent>