Skip to main content

SyncLocationCollection Schema

Data structure for Sync Location Collection objects.

Item Type​

This is a collection (list) of SyncLocation items.

Usage​

# Example: Working with SyncLocationCollection
items = [
{"country_id":"country_id-value-1","location_id":1,"mod_time":1,"name":"name-value-1","orgid":1},
{"country_id":"country_id-value-2","location_id":2,"mod_time":2,"name":"name-value-2","orgid":2}
]

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

JSON Example​

[
{
"country_id": "country_id-value-1",
"location_id": 1,
"mod_time": 1,
"name": "name-value-1",
"orgid": 1
},
{
"country_id": "country_id-value-2",
"location_id": 2,
"mod_time": 2,
"name": "name-value-2",
"orgid": 2
}
]