GET v3/categories
will return all account Categories.
[
{
"id":65707070,
"name":"Marketing Projects",
"default":false
},
{
"id":65707071,
"name":"Uncategorized",
"default":true
}
]
GET v3/categories/65707070
will return the specified Category.
{
"id":65707070,
"name":"Marketing Projects",
"default":false
}
POST v3/categories
will create a new Category.
{
"name": "Rockwall Phase I"
}
201 Created
will be returned along with the JSON of the category (Get Category) if the record is added.
PUT v3/categories/65707070
will update the category.
{
"name": "Rockwall Phase II"
}
200 OK
will be returned along with the JSON of the category (Get Category) if the record is updated. 403 Forbidden
will be returned in case of invalid access.
DELETE v3/categories/65707070
will delete the category specified.
204 No Content
will be returned if the record is deleted. 403 Forbidden
will be returned in case of invalid access.