/zones/list
List zones
Parameters
object |
{ |
|
boolean |
removed |
(optional)
Set true to show even inactive zones
|
string |
session |
Session toked obtained by one of login methods
|
array |
webIds [ |
Restrict zone list by web IDs of webs they belong to
|
|
|
] |
|
|
|
} |
|
Response
object |
{ |
|
integer |
status |
Status code
|
string |
statusMessage |
Textual status description
|
array |
zones [ |
|
object |
{ |
|
string |
createDate |
Datetime of zone record creation
|
array |
dimensions [ |
Array of allowed zone dimensions
|
object |
{ |
|
integer |
height |
|
integer |
width |
|
|
|
} |
|
|
|
] |
|
boolean |
removed |
Flag for user deactivated/stopped zones
|
integer |
webId |
Web ID of web the zone belongs to
|
string |
webName |
Web name of web the zone belongs to
|
integer |
zoneId |
Zone ID
|
string |
zoneName |
Zone name
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
Response status codes
List of possible response status codes:
200: OK
400: Bad request
401: Authentication failed
429: Too much requests in time