{"__v":2,"_id":"544cc23b36475e0e00501517","category":{"__v":17,"_id":"5443799eeec0081a00075161","pages":["544381e9584e15080007bf97","544647fbf4fc090800349e8b","544644f082bd7e080027675d","544644baf4fc090800349e7d","544cc23b36475e0e00501517","54437a6eeec0081a00075162","544cacff36475e0e005014e6","54464320f4fc090800349e79","54466ad982bd7e08002767e3","54897347c130cc0b00d47f55","54bfe4290b16cc0d008794c2","54e1ddcf22de1c230094b0b1","560cc7147e9b9d0d00ca81cf","5614660179fdd00d0085b20d","565eb985009b3019007c751a","56cdf39749abf10b0036a350"],"project":"544371233a1a031a00db621d","version":"544371233a1a031a00db6220","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-10-19T08:43:10.865Z","from_sync":false,"order":3,"slug":"task","title":"Task"},"editedParams":true,"editedParams2":true,"is_link":false,"parentDoc":null,"project":"544371233a1a031a00db621d","user":"544370c53a1a031a00db621c","version":{"__v":19,"_id":"544371233a1a031a00db6220","project":"544371233a1a031a00db621d","createdAt":"2014-10-19T08:06:59.858Z","releaseDate":"2014-10-19T08:06:59.858Z","categories":["544371233a1a031a00db6221","544373693a1a031a00db6224","5443799eeec0081a00075161","544646d182bd7e0800276763","54478af0b96a63140077d670","54479a7eb96a63140077d6a9","5447af97a1024f14005a6e0a","5447c23e8d7af31a00dd408a","5447c6a28d7af31a00dd409b","5447c8fd0319802200fc065b","5447c9020319802200fc065c","544e42acbd51b9080037f837","5451f39514af501a00b50fa0","5451f421fcaba808000c0f4c","546760c2016b480800bc7bd7","549d423f7805690b004a86a5","54a9516a2c8d8d0b00d08d78","54d9e792537ac319002bf90b","561466bb0ab2550d00166dbd"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-10-26T09:43:23.553Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"basic_auth":false,"results":{"codes":[{"name":"","code":"[\n    {\n        \"id\": 1,\n        \"title\": \"Pizza Delivery\",\n        \"address\": \"416 Water St. New York, NY 10002\",\n        \"scheduled_at\": \"2014-19-29T04:16:09.123Z\",\n        \"company_id\": 154,\n        \"team_id\": 4,\n        \"lat\": 45.5,\n        \"lan\": 12.5\n    },\n    {\n        \"id\": 2,\n        \"title\": \"Pizza Delivery\",\n        \"address\": \"416 Water St. New York, NY 10002\",\n        \"scheduled_at\": \"2014-19-29T04:16:09.123Z\",\n        \"company_id\": 154,\n        \"team_id\": 4,\n        \"lat\": 45.5,\n        \"lan\": 12.5\n    },\n    {\n        \"id\": 3,\n        \"title\": \"Pizza Delivery\",\n        \"address\": \"416 Water St. New York, NY 10002\",\n        \"scheduled_at\": \"2014-19-29T04:16:09.123Z\",\n        \"company_id\": 154,\n        \"team_id\": 4,\n        \"lat\": 45.5,\n        \"lan\": 12.5\n    }\n]","language":"json","status":200},{"name":"Failure","code":"{\n    \"success\": false,\n    \"message\": \"failure description\"\n}","language":"json","status":200},{"code":"","language":"text","status":401}]},"try":false,"auth":"never","params":[{"_id":"544ccec136475e0e00501541","ref":"","in":"query","required":true,"desc":"Unique identifier representing a company","default":"","type":"int","name":"company_id"},{"_id":"553e26c38feab90d0059d7ae","ref":"","in":"query","required":false,"desc":"page number (each returns 50 results)","default":"0","type":"int","name":"page"}],"url":"/tasks"},"isReference":false,"order":7,"body":"The *Tasks* endpoint returns information about all tasks.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl --include \\\\\\n     --request GET \\\\\\n     --header \\\"Content-Type: application/json\\\" \\\\\\n     --data-binary \\\"{\\\\\\\"company_id\\\\\\\": 1, \\\\\\\"timestamp\\\\\\\":\\\\\\\"1414421210832\\\\\\\", \\\\\\\"access_token\\\\\\\":\\\\\\\"K2Pxkwvx6-3PtW44zvEV\\\\\\\", \\\\\\\"signature\\\\\\\":\\\\\\\"db00061fa75f869c968f72d48449e457ae06959a\\\\\\\"}\\\" \\\\\\nhttp://api.bringg.com/partner_api/tasks\",\n      \"language\": \"shell\",\n      \"name\": \"cURL\"\n    }\n  ]\n}\n[/block]","excerpt":"Get all Tasks","slug":"tasks-1","type":"get","title":"Tasks"}

getTasks

Get all Tasks

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

company_id:
required
integer
Unique identifier representing a company
page:
integer0
page number (each returns 50 results)

Result Format


Documentation

The *Tasks* endpoint returns information about all tasks. [block:code] { "codes": [ { "code": "curl --include \\\n --request GET \\\n --header \"Content-Type: application/json\" \\\n --data-binary \"{\\\"company_id\\\": 1, \\\"timestamp\\\":\\\"1414421210832\\\", \\\"access_token\\\":\\\"K2Pxkwvx6-3PtW44zvEV\\\", \\\"signature\\\":\\\"db00061fa75f869c968f72d48449e457ae06959a\\\"}\" \\\nhttp://api.bringg.com/partner_api/tasks", "language": "shell", "name": "cURL" } ] } [/block]