GET http://api.servicem8.com/api_1.0/Category.json
Status: 200
[[{"uuid":"...",
"name":"...",
"colour":"...",
"active":"..."},
{"uuid":"...",
"name":"...",
"colour":"...",
"active":"..."}]]
GET http://api.servicem8.com/api_1.0/Category/{UUID}.json
Returns a single Category.
Status: 200
[{"uuid":"...",
"name":"...",
"colour":"...",
"active":"..."}]
POST http://api.servicem8.com/api_1.0/Category.json
Creates a new Category.
{"name":"New Data Here"}
Status: 200
POST http://api.servicem8.com/api_1.0/Category/{UUID}.json
Updates an existing Category with new details from the submitted JSON.
{"name":"Updated Data Here"}
Status: 200
DELETE http://api.servicem8.com/api_1.0/Category/{UUID}.json
Deactivate the Category at the referenced URL.
Status: 200