{"_id":"5715fba8810df00e00cc78d0","__v":6,"category":{"_id":"5715f8c2c016190e00f042b8","__v":0,"project":"56d54a77075dfa0b00be98d5","version":"56d54a77075dfa0b00be98d8","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-04-19T09:22:10.402Z","from_sync":false,"order":6,"slug":"zone-map-area","title":"Zone (Map Area)"},"githubsync":"","project":"56d54a77075dfa0b00be98d5","parentDoc":null,"version":{"_id":"56d54a77075dfa0b00be98d8","__v":13,"project":"56d54a77075dfa0b00be98d5","createdAt":"2016-03-01T07:53:27.479Z","releaseDate":"2016-03-01T07:53:27.479Z","categories":["56d54a78075dfa0b00be98d9","56d6bbf046d19315000f8ea2","56d6bbfc46d19315000f8ea3","570cefd98da5b62b00d57e3c","571491a74007610e00c803ae","5714dcd837b7e00e00de5684","5715ea6ac016190e00f04272","5715f27fc016190e00f0429f","5715f7b9893cbe0e002d74da","5715f8c2c016190e00f042b8","5715fd49a9055c0e0015fbe7","57160c7e893cbe0e002d753a","5716136a893cbe0e002d7552"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"user":"56d548ba075dfa0b00be98d2","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-04-19T09:34:32.128Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"[block:html]\n{\n  \"html\": \"<h3>GetZones</h3>\"\n}\n[/block]\n\n[block:html]\n{\n  \"html\": \"<h4><b>Columns</b></h4>\"\n}\n[/block]\nRefer to the following table for description of columns:\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Name\",\n    \"h-1\": \"Data type\",\n    \"h-2\": \"Unit of measurement\",\n    \"h-3\": \"Nullability\",\n    \"h-4\": \"Note\",\n    \"0-0\": \"`id`\",\n    \"0-1\": \"String\",\n    \"0-2\": \"N/A\",\n    \"0-3\": \"FALSE\",\n    \"0-4\": \"Unique identifier.\",\n    \"1-0\": \"`name`\",\n    \"1-1\": \"String\",\n    \"1-2\": \"N/A\",\n    \"1-3\": \"FALSE\",\n    \"2-0\": \"`note`\",\n    \"2-1\": \"String\",\n    \"2-2\": \"N/A\",\n    \"2-3\": \"TRUE\",\n    \"3-0\": \"`icon`\",\n    \"3-1\": \"String\",\n    \"3-2\": \"N/A\",\n    \"3-3\": \"TRUE\",\n    \"4-0\": \"`ploygon`\",\n    \"4-1\": \"String\",\n    \"4-2\": \"N/A\",\n    \"4-3\": \"FALSE\",\n    \"4-4\": \"WKT format.\"\n  },\n  \"cols\": 5,\n  \"rows\": 5\n}\n[/block]\n\n[block:html]\n{\n  \"html\": \"<h4><b>Request (example)</b></h4>\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n\n[block:html]\n{\n  \"html\": \"<h4><b>Response</b></h4>\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n   \\\"list\\\":[\\n      {\\n         \\\"id\\\": \\\"6294\\\",\\n         \\\"name\\\": \\\"Lundby-Bäckby\\\",\\n         \\\"note\\\": \\\"Fabrik\\\",\\n         \\\"icon\\\": \\\"24x24/factory.png\\\",\\n         \\\"polygon\\\": \\\"POLYGON ((59.591137272930062 16.478075981140137, \\n         59.590235783796579 16.4695143699646, 59.585326045305095 \\n         16.471874713897705, 59.586249391556166 16.478183269500732, \\n         59.586803387139774 16.48223876953125, 59.588497905221146 \\n         16.481831073760986, 59.590279229610317 16.481101512908936, \\n         59.591104689406443 16.479363441467285, 59.591137272930062 \\n         16.478075981140137))\\\"\\n      },\\n      {\\n         \\\"id\\\": \\\"6295\\\",\\n         \\\"name\\\": \\\"Pauliström\\\",\\n         \\\"note\\\": \\\"Fabrik\\\",\\n         \\\"icon\\\": \\\"24x24/factory.png\\\",\\n         \\\"polygon\\\": \\\"POLYGON ((57.473227623291542 15.510871410369873, \\n         57.472777652023382 15.507717132568359, 57.47108155666789 \\n         15.507910251617432, 57.469593081600394 15.508832931518555, \\n         57.469443076874207 15.509905815124512, 57.468727661247641 \\n         15.510399341583252, 57.468554574717778 15.510399341583252, \\n         57.468681504919836 15.511257648468018, 57.46926999373273 \\n         15.511300563812256, 57.469673853121016 15.511257648468018, \\n         57.469258454827468 15.511600971221924, 57.469350765967427 \\n         15.512566566467285, 57.470343095995467 15.512416362762451, \\n         57.471912307086896 15.511794090270996, 57.473227623291542 \\n         15.510871410369873))\\\"\\n      }\\n   ]\\n} \",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"Will list all zones.\n\nURL Structure is:\n`https://api.trackunit.com/public/Zone`","slug":"zones-collection","type":"basic","title":"Zones Collection"}

Zones Collection

Will list all zones. URL Structure is: `https://api.trackunit.com/public/Zone`

[block:html] { "html": "<h3>GetZones</h3>" } [/block] [block:html] { "html": "<h4><b>Columns</b></h4>" } [/block] Refer to the following table for description of columns: [block:parameters] { "data": { "h-0": "Name", "h-1": "Data type", "h-2": "Unit of measurement", "h-3": "Nullability", "h-4": "Note", "0-0": "`id`", "0-1": "String", "0-2": "N/A", "0-3": "FALSE", "0-4": "Unique identifier.", "1-0": "`name`", "1-1": "String", "1-2": "N/A", "1-3": "FALSE", "2-0": "`note`", "2-1": "String", "2-2": "N/A", "2-3": "TRUE", "3-0": "`icon`", "3-1": "String", "3-2": "N/A", "3-3": "TRUE", "4-0": "`ploygon`", "4-1": "String", "4-2": "N/A", "4-3": "FALSE", "4-4": "WKT format." }, "cols": 5, "rows": 5 } [/block] [block:html] { "html": "<h4><b>Request (example)</b></h4>" } [/block] [block:code] { "codes": [ { "code": "{}", "language": "json" } ] } [/block] [block:html] { "html": "<h4><b>Response</b></h4>" } [/block] [block:code] { "codes": [ { "code": "{\n \"list\":[\n {\n \"id\": \"6294\",\n \"name\": \"Lundby-Bäckby\",\n \"note\": \"Fabrik\",\n \"icon\": \"24x24/factory.png\",\n \"polygon\": \"POLYGON ((59.591137272930062 16.478075981140137, \n 59.590235783796579 16.4695143699646, 59.585326045305095 \n 16.471874713897705, 59.586249391556166 16.478183269500732, \n 59.586803387139774 16.48223876953125, 59.588497905221146 \n 16.481831073760986, 59.590279229610317 16.481101512908936, \n 59.591104689406443 16.479363441467285, 59.591137272930062 \n 16.478075981140137))\"\n },\n {\n \"id\": \"6295\",\n \"name\": \"Pauliström\",\n \"note\": \"Fabrik\",\n \"icon\": \"24x24/factory.png\",\n \"polygon\": \"POLYGON ((57.473227623291542 15.510871410369873, \n 57.472777652023382 15.507717132568359, 57.47108155666789 \n 15.507910251617432, 57.469593081600394 15.508832931518555, \n 57.469443076874207 15.509905815124512, 57.468727661247641 \n 15.510399341583252, 57.468554574717778 15.510399341583252, \n 57.468681504919836 15.511257648468018, 57.46926999373273 \n 15.511300563812256, 57.469673853121016 15.511257648468018, \n 57.469258454827468 15.511600971221924, 57.469350765967427 \n 15.512566566467285, 57.470343095995467 15.512416362762451, \n 57.471912307086896 15.511794090270996, 57.473227623291542 \n 15.510871410369873))\"\n }\n ]\n} ", "language": "json" } ] } [/block]