Viz Channel Branding User Guide
Version 5.1 | Published October 26, 2023 ©
PUT Global Settings
Edits global settings.
Cache Time must be an integer value higher then 0 and cannot be set null
Syntax
PUT /config/globalsettings
Request
PUT /config/globalsettings HTTP/
1.1
Content-Type: application/vizrt.promoserver+xml; type=globalSettingsList
<promoserver:globalSettingsList xmlns:promoserver=
"http://www.vizrt.com/promoserver"
>
<promoserver:cacheTime>
5
</promoserver:cacheTime>
<promoserver:machineAddressesCacheTime>
60
</promoserver:machineAddressesCacheTime>
</promoserver:globalSettingsList>
Response - Successfully edited Global Settings
HTTP/
1.1
200
OK
Content-Type: application/vizrt.promoserver+xml; type=globalSettingsList
<promoserver:globalSettingsList xmlns:promoserver=
"http://www.vizrt.com/promoserver"
>
<promoserver:refLink rel=
"self"
type=
"application/vizrt.promoserver+xml; type=globalSettingsList"
href=
"http://localhost:9980/config/globalsettings"
/>
<promoserver:refLink rel=
"edit"
type=
"application/vizrt.promoserver+xml; type=globalSettingsList"
href=
"http://localhost:9980/config/globalsettings"
/>
<promoserver:cacheTime>
5
</promoserver:cacheTime>
<promoserver:machineAddressesCacheTime>
60
</promoserver:machineAddressesCacheTime>
</promoserver:globalSettingsList>
Error Response - Invalid cache time
HTTP/
1.1
400
Bad Request
Content-Type: application/xml; charset=utf-
8
<string xmlns=
"http://schemas.microsoft.com/2003/10/Serialization/"
>Input content can't be used to update global settings: Cache time
for
machine addresses must have an integer value</string>