Updating a Route Group

This route will update the values for a given route group.

Request:

PUT (or PATCH) /routegroups

JSON

{
    "name": "My New Route"
}
NOTE: You can include one or more fields to be updated

Response:

Updated Route Group

JSON

{
	"route_group_uuid": "9ba9665d-1766-49f8-b1ba-e2f457d6bf8b",
	"name": "My New Route",
	"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/routegroups/0c9b2f87-bd24-4d42-8a7f-35c74cc47516/carrierroutes",
	"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":"http://api.4over.com/users/adf71c59-35c1-4ca4-9521-12d91f4594c2/organizations",
	  "logins":"http://api.4over.com/users/adf71c59-35c1-4ca4-9521-12d91f4594c2/logins",
	  "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":"http://api.4over.com/organizations/8a17ef16-d997-4544-9f7c-d313febf9c40/users",
	  "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":""
}