{"id":152,"date":"2016-01-26T16:49:36","date_gmt":"2016-01-26T16:49:36","guid":{"rendered":"http:\/\/192.168.114.129\/?page_id=152"},"modified":"2023-06-24T11:09:28","modified_gmt":"2023-06-24T11:09:28","slug":"get-route-groups","status":"publish","type":"page","link":"https:\/\/api-users.4over.com\/?page_id=152","title":{"rendered":"Retrieving all Route Groups"},"content":{"rendered":"<p>Route groups created by the user currently logged in user can be retrived using the following API route:<\/p>\n<h3>Request:<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n GET \/routegroups  \r\n<\/pre>\n<h3>Response:<\/h3>\n<p>JSON<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n{\r\n   &quot;entities&quot;: [\r\n       {\r\n           &quot;route_group_uuid&quot;: &quot;&quot;,\r\n           &quot;name&quot;: &quot;My New Route Group&quot;,\r\n           &quot;description&quot;: &quot;This is a sample route group&quot;,\r\n           &quot;address&quot;: &quot;1225 Los Angeles St&quot;,\r\n           &quot;city&quot;: &quot;Glendale&quot;,\r\n           &quot;zip&quot;: &quot;91202&quot;,\r\n           &quot;x_coordinate&quot;: &quot;&quot;,\r\n           &quot;y_coordinate&quot;: &quot;&quot;,\r\n           &quot;param_type&quot;: &quot;&quot;,\r\n           &quot;latitude&quot;: &quot;&quot;,\r\n           &quot;longitude&quot;: &quot;&quot;,\r\n           &quot;is_residential&quot;: 1,\r\n           &quot;user&quot;:{\r\n               &quot;user_uuid&quot;:&quot;9ba9665d-1766-49f8-b1ba-e2f457d6bf8b&quot;,\r\n               &quot;first_name&quot;:&quot;First&quot;,\r\n               &quot;last_name&quot;:&quot;Last&quot;,\r\n               &quot;email&quot;:&quot;user@4over.com&quot;,\r\n               &quot;user_notes&quot;:&quot;4over User for internal applications&quot;,\r\n               &quot;created_at&quot;:&quot;2014-01-02 10:06:35-08&quot;,\r\n               &quot;updated_at&quot;:&quot;&quot;,\r\n               &quot;deleted_at&quot;:&quot;&quot;,\r\n               &quot;organizations&quot;:&quot;https:\/\/api.4over.com&quot;,\r\n               &quot;logins&quot;:&quot;https:\/\/api.4over.com&quot;,\r\n               &quot;token&quot;:&quot;d8e49f3738a1d38db775df763cb4533829e0fab1&quot;,\r\n               &quot;timestamp&quot;:&quot;0.95550300 1400192009&quot;,\r\n               &quot;current_organization_uuid&quot;:&quot;9ba9665d-1766-49f8-b1ba-e2f457d6bf8b&quot;\r\n           },\r\n           &quot;organization&quot;:{\r\n               &quot;organization_uuid&quot;:&quot;9ba9665d-1766-49f8-b1ba-e2f457d6bf8b&quot;,\r\n               &quot;organization_name&quot;:&quot;4over, Inc.&quot;,\r\n               &quot;organization_description&quot;:&quot;4over corporate&quot;,\r\n               &quot;is_public_organization&quot;:true,\r\n               &quot;users&quot;:&quot;https:\/\/api.4over.com\/&quot;,\r\n               &quot;job_code_prefix&quot;:&quot;Z&quot;,\r\n               &quot;created_at&quot;:&quot;2013-09-29 22:11:43.194599-07&quot;,\r\n               &quot;updated_at&quot;:&quot;&quot;,\r\n               &quot;deleted_at&quot;:&quot;&quot;\r\n           },\r\n           &quot;created_at&quot;:&quot;2013-09-29 22:11:43.194599-07&quot;,\r\n           &quot;updated_at&quot;:&quot;2013-09-29 22:11:43.194599-07&quot;,\r\n           &quot;deleted_at&quot;:&quot;&quot;\r\n       },\r\n    ],\r\n    &quot;totalResults&quot;:1,\r\n    &quot;currentPage&quot;:0,\r\n    &quot;maximumPages&quot;:20\r\n}\r\n<\/pre>\n<h3>Retrieving a Single Route Group<\/h3>\n<h3>Request:<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n GET \/routegroups\/:id\r\n<\/pre>\n<h3>Single Route Group Response:<\/h3>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n{\r\n   &quot;route_group_uuid&quot;: &quot;9ba9665d-1766-49f8-b1ba-e2f457d6bf8b&quot;,\r\n   &quot;name&quot;: &quot;My New Route Group&quot;,\r\n   &quot;description&quot;: &quot;This is a sample route group&quot;,\r\n   &quot;address&quot;: &quot;1225 Los Angeles St&quot;,\r\n   &quot;city&quot;: &quot;Glendale&quot;,\r\n   &quot;zip&quot;: &quot;91202&quot;,\r\n   &quot;x_coordinate&quot;: &quot;&quot;,\r\n   &quot;y_coordinate&quot;: &quot;&quot;,\r\n   &quot;param_type&quot;: &quot;&quot;,\r\n   &quot;latitude&quot;: &quot;&quot;,\r\n   &quot;longitude&quot;: &quot;&quot;,\r\n   &quot;carrier_routes&quot;: &quot;https:\/\/api.4over.com\/&quot;,\r\n   &quot;user&quot;:{\r\n      &quot;user_uuid&quot;:&quot;9ba9665d-1766-49f8-b1ba-e2f457d6bf8b&quot;,\r\n      &quot;first_name&quot;:&quot;4over&quot;,\r\n      &quot;last_name&quot;:&quot;Internal&quot;,\r\n      &quot;email&quot;:&quot;user@4over.com&quot;,\r\n      &quot;user_notes&quot;:&quot;4over User for internal applications&quot;,\r\n      &quot;created_at&quot;:&quot;2014-01-02 10:06:35-08&quot;,\r\n      &quot;updated_at&quot;:&quot;&quot;,\r\n      &quot;deleted_at&quot;:&quot;&quot;,\r\n      &quot;organizations&quot;:&quot;https:\/\/api.4over.com\/&quot;,\r\n      &quot;logins&quot;:&quot;https:\/\/api.4over.com\/&quot;,\r\n      &quot;token&quot;:&quot;d8e49f3738a1d38db775df763cb4533829e0fab1&quot;,\r\n      &quot;timestamp&quot;:&quot;0.95550300 1400192009&quot;,\r\n      &quot;current_organization_uuid&quot;:&quot;9ba9665d-1766-49f8-b1ba-e2f457d6bf8b&quot;\r\n  \r\n   },\r\n   &quot;organization&quot;:{\r\n      &quot;organization_uuid&quot;:&quot;9ba9665d-1766-49f8-b1ba-e2f457d6bf8b&quot;,\r\n      &quot;organization_name&quot;:&quot;4over, Inc.&quot;,\r\n      &quot;organization_description&quot;:&quot;4over corporate&quot;,\r\n      &quot;is_public_organization&quot;:true,\r\n      &quot;users&quot;:&quot;https:\/\/api.4over.com\/&quot;,\r\n      &quot;job_code_prefix&quot;:&quot;Z&quot;,\r\n      &quot;created_at&quot;:&quot;2013-09-29 22:11:43.194599-07&quot;,\r\n      &quot;updated_at&quot;:&quot;&quot;,\r\n      &quot;deleted_at&quot;:&quot;&quot;\r\n   },\r\n   &quot;created_at&quot;:&quot;2013-09-29 22:11:43.194599-07&quot;,\r\n   &quot;updated_at&quot;:&quot;2013-09-29 22:11:43.194599-07&quot;,\r\n   &quot;deleted_at&quot;:&quot;&quot;\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Route groups created by the user currently logged in user can be retrived using the following API route: Request: Response: JSON Retrieving a Single Route Group Request: Single Route Group Response:<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":148,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-152","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=152"}],"version-history":[{"count":8,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/152\/revisions"}],"predecessor-version":[{"id":469,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/152\/revisions\/469"}],"up":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/148"}],"wp:attachment":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}