Get zone UI Treatment field values
import requests
url = "https://{FUSION_HOST.com}/api/templating/zones/uiTreatments"
response = requests.get(url)
print(response.text)[
{
"isUiTreatment": false,
"message": "Text included in the response for this zone. If the user interface (UI) is configured to use the zone, the text in this field can be used to influence how the zone is displayed or processed in the UI.",
"uiTreatment": "uiTreatment field name"
}
]Get zone UI Treatment field values
Lists all of the values used in the UI Treatment fields of zones.
GET
/
zones
/
uiTreatments
Get zone UI Treatment field values
import requests
url = "https://{FUSION_HOST.com}/api/templating/zones/uiTreatments"
response = requests.get(url)
print(response.text)[
{
"isUiTreatment": false,
"message": "Text included in the response for this zone. If the user interface (UI) is configured to use the zone, the text in this field can be used to influence how the zone is displayed or processed in the UI.",
"uiTreatment": "uiTreatment field name"
}
]Response
OK
This field specifies if UI Treatment fields have been defined.
The response message.
Example:
"Text included in the response for this zone. If the user interface (UI) is configured to use the zone, the text in this field can be used to influence how the zone is displayed or processed in the UI."
The name of the field that contains uiTreatment values defined for the zone.
Example:
"uiTreatment field name"
Was this page helpful?
⌘I