Skip to main content

LocationGroupCollection Schema

Data structure for Location Group Collection objects.

Item Type​

This is a collection (list) of LocationGroup items.

Usage​

# Example: Working with LocationGroupCollection
items = [
{"name":"name-value-1","id":1,"zia_locations":[]},
{"name":"name-value-2","id":2,"zia_locations":[]}
]

# Pass to an action that requires this collection type
resource.some_action(body=items)

JSON Example​

[
{
"name": "name-value-1",
"id": 1,
"zia_locations": []
},
{
"name": "name-value-2",
"id": 2,
"zia_locations": []
}
]