Route groups created by the user currently logged in user can be retrived using the following API route:
Request:
GET /routegroups
Response:
JSON
{
"entities": [
{
"route_group_uuid": "",
"name": "My New Route Group",
"description": "This is a sample route group",
"address": "1225 Los Angeles St",
"city": "Glendale",
"zip": "91202",
"x_coordinate": "",
"y_coordinate": "",
"param_type": "",
"latitude": "",
"longitude": "",
"is_residential": 1,
"user":{
"user_uuid":"9ba9665d-1766-49f8-b1ba-e2f457d6bf8b",
"first_name":"First",
"last_name":"Last",
"email":"user@4over.com",
"user_notes":"4over User for internal applications",
"created_at":"2014-01-02 10:06:35-08",
"updated_at":"",
"deleted_at":"",
"organizations":"https://api.4over.com",
"logins":"https://api.4over.com",
"token":"d8e49f3738a1d38db775df763cb4533829e0fab1",
"timestamp":"0.95550300 1400192009",
"current_organization_uuid":"9ba9665d-1766-49f8-b1ba-e2f457d6bf8b"
},
"organization":{
"organization_uuid":"9ba9665d-1766-49f8-b1ba-e2f457d6bf8b",
"organization_name":"4over, Inc.",
"organization_description":"4over corporate",
"is_public_organization":true,
"users":"https://api.4over.com/",
"job_code_prefix":"Z",
"created_at":"2013-09-29 22:11:43.194599-07",
"updated_at":"",
"deleted_at":""
},
"created_at":"2013-09-29 22:11:43.194599-07",
"updated_at":"2013-09-29 22:11:43.194599-07",
"deleted_at":""
},
],
"totalResults":1,
"currentPage":0,
"maximumPages":20
}
Retrieving a Single Route Group
Request:
GET /routegroups/:id
Single Route Group Response:
{
"route_group_uuid": "9ba9665d-1766-49f8-b1ba-e2f457d6bf8b",
"name": "My New Route Group",
"description": "This is a sample route group",
"address": "1225 Los Angeles St",
"city": "Glendale",
"zip": "91202",
"x_coordinate": "",
"y_coordinate": "",
"param_type": "",
"latitude": "",
"longitude": "",
"carrier_routes": "https://api.4over.com/",
"user":{
"user_uuid":"9ba9665d-1766-49f8-b1ba-e2f457d6bf8b",
"first_name":"4over",
"last_name":"Internal",
"email":"user@4over.com",
"user_notes":"4over User for internal applications",
"created_at":"2014-01-02 10:06:35-08",
"updated_at":"",
"deleted_at":"",
"organizations":"https://api.4over.com/",
"logins":"https://api.4over.com/",
"token":"d8e49f3738a1d38db775df763cb4533829e0fab1",
"timestamp":"0.95550300 1400192009",
"current_organization_uuid":"9ba9665d-1766-49f8-b1ba-e2f457d6bf8b"
},
"organization":{
"organization_uuid":"9ba9665d-1766-49f8-b1ba-e2f457d6bf8b",
"organization_name":"4over, Inc.",
"organization_description":"4over corporate",
"is_public_organization":true,
"users":"https://api.4over.com/",
"job_code_prefix":"Z",
"created_at":"2013-09-29 22:11:43.194599-07",
"updated_at":"",
"deleted_at":""
},
"created_at":"2013-09-29 22:11:43.194599-07",
"updated_at":"2013-09-29 22:11:43.194599-07",
"deleted_at":""
}